First wave of Slackbuilds
Signed-off-by: Gwenhael Le Moine <cycojesus@darkstar.example.net>
This commit is contained in:
commit
b74a9197b8
17 changed files with 1479 additions and 0 deletions
96
ap/cclive/cclive.SlackBuild
Executable file
96
ap/cclive/cclive.SlackBuild
Executable file
|
@ -0,0 +1,96 @@
|
||||||
|
#!/bin/sh
|
||||||
|
set -x
|
||||||
|
|
||||||
|
PRGNAM=cclive
|
||||||
|
VERSION=0.5.3
|
||||||
|
|
||||||
|
BUILD=1
|
||||||
|
PACKAGER=cyco
|
||||||
|
ARCH=$(uname -m)
|
||||||
|
LIBSUFFIX=$(echo $ARCH | grep -o "\(64\)")
|
||||||
|
|
||||||
|
CWD=$(pwd)
|
||||||
|
TMP=/tmp
|
||||||
|
PKG=$TMP/$PACKAGER/pkg-$PRGNAM
|
||||||
|
|
||||||
|
PREFIX=/usr
|
||||||
|
|
||||||
|
# Cleaning
|
||||||
|
( cd $TMP
|
||||||
|
rm -fr $PRGNAM-$VERSION
|
||||||
|
rm -fr $PKG
|
||||||
|
)
|
||||||
|
|
||||||
|
# Fetching sources
|
||||||
|
( cd $TMP
|
||||||
|
[ -e $CWD/$PRGNAM-$VERSION.tar.?z* ] \
|
||||||
|
&& tar xvf $CWD/$PRGNAM-$VERSION.tar.?z*
|
||||||
|
[ ! -e $PRGNAM-$VERSION ] \
|
||||||
|
&& wget -c http://nchc.dl.sourceforge.net/project/$PRGNAM/$PRGNAM/$VERSION/$PRGNAM-$VERSION.tar.gz \
|
||||||
|
&& tar xvf $PRGNAM-$VERSION.tar.?z*
|
||||||
|
)
|
||||||
|
|
||||||
|
# Preparation
|
||||||
|
( cd $TMP/$PRGNAM-$VERSION
|
||||||
|
chown -R root:root .
|
||||||
|
find . \
|
||||||
|
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
|
||||||
|
-exec chmod 755 {} \; -o \
|
||||||
|
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
|
||||||
|
-exec chmod 644 {} \;
|
||||||
|
)
|
||||||
|
|
||||||
|
# Configuration
|
||||||
|
( cd $TMP/$PRGNAM-$VERSION
|
||||||
|
./configure \
|
||||||
|
--prefix=$PREFIX \
|
||||||
|
--mandir=$PREFIX/man \
|
||||||
|
--libdir=$PREFIX/lib64
|
||||||
|
)
|
||||||
|
|
||||||
|
# Building
|
||||||
|
( cd $TMP/$PRGNAM-$VERSION
|
||||||
|
make
|
||||||
|
)
|
||||||
|
|
||||||
|
# Installation
|
||||||
|
mkdir -p $PKG$PREFIX/{bin,lib$LIBSUFFIX/$PRGNAM,man/man1}
|
||||||
|
( cd $TMP/$PRGNAM-$VERSION
|
||||||
|
make install DESTDIR=$PKG
|
||||||
|
)
|
||||||
|
|
||||||
|
# Cleaning
|
||||||
|
( cd $PKG
|
||||||
|
find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
|
||||||
|
find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
|
||||||
|
|
||||||
|
find ./man -type f -name "*.?" -exec gzip -9 {} \;
|
||||||
|
|
||||||
|
chown -R root:root .
|
||||||
|
find . \
|
||||||
|
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
|
||||||
|
-exec chmod 755 {} \; -o \
|
||||||
|
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
|
||||||
|
-exec chmod 644 {} \;
|
||||||
|
)
|
||||||
|
|
||||||
|
# Packaging
|
||||||
|
( cd $PKG
|
||||||
|
mkdir install
|
||||||
|
cat <<EOF > install/slack-desc
|
||||||
|
$PRGNAM: $PRGNAM ()
|
||||||
|
$PRGNAM:
|
||||||
|
$PRGNAM:
|
||||||
|
$PRGNAM:
|
||||||
|
$PRGNAM:
|
||||||
|
$PRGNAM:
|
||||||
|
$PRGNAM:
|
||||||
|
$PRGNAM:
|
||||||
|
$PRGNAM:
|
||||||
|
$PRGNAM:
|
||||||
|
$PRGNAM:
|
||||||
|
EOF
|
||||||
|
|
||||||
|
makepkg -l y -c n $TMP/$PRGNAM-$(echo $VERSION | tr -d '-')-$ARCH-$BUILD$PACKAGER.txz
|
||||||
|
)
|
||||||
|
|
95
ap/nut/nut.SlackBuild
Executable file
95
ap/nut/nut.SlackBuild
Executable file
|
@ -0,0 +1,95 @@
|
||||||
|
#!/bin/sh
|
||||||
|
set -x
|
||||||
|
|
||||||
|
PRGNAM=nut
|
||||||
|
VERSION=15.1
|
||||||
|
|
||||||
|
BUILD=1
|
||||||
|
PACKAGER=cyco
|
||||||
|
ARCH=$(uname -m)
|
||||||
|
LIBSUFFIX=$(echo $ARCH | grep -o "\(64\)")
|
||||||
|
|
||||||
|
CWD=$(pwd)
|
||||||
|
TMP=/tmp
|
||||||
|
PKG=$TMP/$PACKAGER/pkg-$PRGNAM
|
||||||
|
|
||||||
|
PREFIX=/usr
|
||||||
|
|
||||||
|
# Cleaning
|
||||||
|
( cd $TMP
|
||||||
|
rm -fr $PRGNAM-$VERSION
|
||||||
|
rm -fr $PKG
|
||||||
|
)
|
||||||
|
|
||||||
|
# Fetching sources
|
||||||
|
( cd $TMP
|
||||||
|
[ -e $CWD/$PRGNAM-$VERSION.tar.?z* ] \
|
||||||
|
&& tar xvf $CWD/$PRGNAM-$VERSION.tar.?z*
|
||||||
|
[ ! -e $PRGNAM-$VERSION ] \
|
||||||
|
&& wget -c http://nchc.dl.sourceforge.net/project/$PRGNAM/$PRGNAM/$VERSION/$PRGNAM-$VERSION.tar.gz \
|
||||||
|
&& tar xvf $PRGNAM-$VERSION.tar.?z*
|
||||||
|
)
|
||||||
|
|
||||||
|
# Preparation
|
||||||
|
( cd $TMP/$PRGNAM-$VERSION
|
||||||
|
chown -R root:root .
|
||||||
|
find . \
|
||||||
|
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
|
||||||
|
-exec chmod 755 {} \; -o \
|
||||||
|
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
|
||||||
|
-exec chmod 644 {} \;
|
||||||
|
)
|
||||||
|
|
||||||
|
# Configuration
|
||||||
|
( cd $TMP/$PRGNAM-$VERSION
|
||||||
|
sed -i "s|/usr/local/lib|$PREFIX/lib$LIBSUFFIX|g" Makefile
|
||||||
|
)
|
||||||
|
|
||||||
|
# Building
|
||||||
|
( cd $TMP/$PRGNAM-$VERSION
|
||||||
|
make
|
||||||
|
)
|
||||||
|
|
||||||
|
# Installation
|
||||||
|
mkdir -p $PKG$PREFIX/{bin,lib$LIBSUFFIX/$PRGNAM,man/man1}
|
||||||
|
( cd $TMP/$PRGNAM-$VERSION
|
||||||
|
cp $PRGNAM $PKG$PREFIX/bin
|
||||||
|
cp $PRGNAM.1 $PKG$PREFIX/man/man1
|
||||||
|
cp raw.data/* $PKG$PREFIX/lib$LIBSUFFIX/$PRGNAM
|
||||||
|
)
|
||||||
|
|
||||||
|
# Cleaning
|
||||||
|
( cd $PKG
|
||||||
|
find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
|
||||||
|
find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
|
||||||
|
|
||||||
|
find ./man -type f -name "*.?" -exec gzip -9 {} \;
|
||||||
|
|
||||||
|
chown -R root:root .
|
||||||
|
find . \
|
||||||
|
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
|
||||||
|
-exec chmod 755 {} \; -o \
|
||||||
|
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
|
||||||
|
-exec chmod 644 {} \;
|
||||||
|
)
|
||||||
|
|
||||||
|
# Packaging
|
||||||
|
( cd $PKG
|
||||||
|
mkdir install
|
||||||
|
cat <<EOF > install/slack-desc
|
||||||
|
$PRGNAM: $PRGNAM (open-source free nutrition software)
|
||||||
|
$PRGNAM:
|
||||||
|
$PRGNAM: $PRGNAM, records what you eat and analyzes your meals for nutrient
|
||||||
|
$PRGNAM: levels in terms of the "Daily Value" or DV which is the standard for
|
||||||
|
$PRGNAM: food labeling in the US. The program uses the free food composition
|
||||||
|
$PRGNAM: database from the USDA.
|
||||||
|
$PRGNAM:
|
||||||
|
$PRGNAM:
|
||||||
|
$PRGNAM:
|
||||||
|
$PRGNAM: http://nut.sourceforge.net/
|
||||||
|
$PRGNAM:
|
||||||
|
EOF
|
||||||
|
|
||||||
|
makepkg -l y -c n $TMP/$PRGNAM-$(echo $VERSION | tr -d '-')-$ARCH-$BUILD$PACKAGER.txz
|
||||||
|
)
|
||||||
|
|
176
ap/offlineimap/offlineimap.SlackBuild
Executable file
176
ap/offlineimap/offlineimap.SlackBuild
Executable file
|
@ -0,0 +1,176 @@
|
||||||
|
#!/bin/bash
|
||||||
|
#
|
||||||
|
# offlineimap.SlackBuild is free software; you can redistribute
|
||||||
|
# it and/or modify it under the terms of the GNU General Public License as
|
||||||
|
# published by the Free Software Foundation; either version 2 of the License,
|
||||||
|
# or any later version.
|
||||||
|
#
|
||||||
|
# offlineimap.SlackBuild is distributed in the hope that it will
|
||||||
|
# be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
|
||||||
|
# Public License for more details.
|
||||||
|
#
|
||||||
|
# You should have received a copy of the GNU General Public License along
|
||||||
|
# with this program; if not, write to the Free Software Foundation, Inc.,
|
||||||
|
# 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
|
||||||
|
#
|
||||||
|
# slackbuild for offlineimap, by Silvio Rhatto
|
||||||
|
# requires:
|
||||||
|
# tested: offlineimap-6.2.0
|
||||||
|
#
|
||||||
|
|
||||||
|
# Look for slackbuildrc
|
||||||
|
if [ -f ~/.slackbuildrc ]; then
|
||||||
|
source ~/.slackbuildrc
|
||||||
|
elif [ -f /etc/slackbuildrc ]; then
|
||||||
|
source /etc/slackbuildrc
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Set variables
|
||||||
|
CWD="$(pwd)"
|
||||||
|
SRC_NAME="offlineimap"
|
||||||
|
PKG_NAME="offlineimap"
|
||||||
|
ARCH=${ARCH:=x86_64}
|
||||||
|
SRC_VERSION=${VERSION:=6.2.0}
|
||||||
|
PKG_VERSION="$(echo "$SRC_VERSION" | tr '[[:blank:]-]' '_')"
|
||||||
|
BUILD=${BUILD:=1cyco}
|
||||||
|
SRC_DIR=${SRC_DIR:=$CWD}/$PKG_NAME
|
||||||
|
TMP=${TMP:=/tmp}
|
||||||
|
PKG=${PKG:=$TMP/package-$PKG_NAME}
|
||||||
|
REPOS=${REPOS:=$TMP}
|
||||||
|
PREFIX=${PREFIX:=/usr}
|
||||||
|
PKG_WORK="$TMP/$SRC_NAME"
|
||||||
|
CONF_OPTIONS=${CONF_OPTIONS:=""}
|
||||||
|
NUMJOBS=${NUMJOBS:=""}
|
||||||
|
|
||||||
|
# Set system libraries' path and optmization flags based on $ARCH
|
||||||
|
LIBDIR="$PREFIX/lib"
|
||||||
|
|
||||||
|
if [ "$ARCH" = "i386" ]; then
|
||||||
|
SLKCFLAGS="-O2 -march=i386 -mcpu=i686"
|
||||||
|
elif [ "$ARCH" = "i486" ]; then
|
||||||
|
SLKCFLAGS="-O2 -march=i486 -mcpu=i686"
|
||||||
|
elif [ "$ARCH" = "i686" ]; then
|
||||||
|
SLKCFLAGS="-O2 -march=i686"
|
||||||
|
elif [ "$ARCH" = "s390" ]; then
|
||||||
|
SLKCFLAGS="-O2"
|
||||||
|
elif [ "$ARCH" = "x86_64" ]; then
|
||||||
|
SLKCFLAGS="-O2 -fPIC"
|
||||||
|
LIBDIR="$PREFIX/lib64"
|
||||||
|
LDFLAGS="-L/lib64 -L/usr/lib64"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Set error codes (used by createpkg)
|
||||||
|
ERROR_WGET=31; ERROR_MAKE=32; ERROR_INSTALL=33
|
||||||
|
ERROR_MD5=34; ERROR_CONF=35; ERROR_HELP=36
|
||||||
|
ERROR_TAR=37; ERROR_MKPKG=38; ERROR_GPG=39
|
||||||
|
ERROR_PATCH=40; ERROR_VCS=41; ERROR_MKDIR=42
|
||||||
|
|
||||||
|
# Clean up any leftovers of previous builds
|
||||||
|
rm -rf "$PKG_WORK" 2> /dev/null
|
||||||
|
rm -rf "$PKG" 2> /dev/null
|
||||||
|
|
||||||
|
# Create directories if necessary
|
||||||
|
mkdir -p "$SRC_DIR" || exit $ERROR_MKDIR
|
||||||
|
mkdir -p "$PKG" || exit $ERROR_MKDIR
|
||||||
|
mkdir -p "$REPOS" || exit $ERROR_MKDIR
|
||||||
|
mkdir -p "$PKG_WORK" || exit $ERROR_MKDIR
|
||||||
|
|
||||||
|
# Dowload source if necessary
|
||||||
|
SRC="$SRC_NAME"_"$SRC_VERSION.tar.gz"
|
||||||
|
URL="http://ftp.de.debian.org/debian/pool/main/o/offlineimap/$SRC"
|
||||||
|
|
||||||
|
if [ ! -s "$SRC_DIR/$SRC" ] || ! gunzip -t "$SRC_DIR/$SRC" 2> /dev/null; then
|
||||||
|
wget "$URL" -O "$SRC_DIR/$SRC" || exit $ERROR_WGET
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Untar
|
||||||
|
cd "$PKG_WORK"
|
||||||
|
tar --no-same-owner --no-same-permissions -xvf "$SRC_DIR/$SRC" || exit $ERROR_TAR
|
||||||
|
PKG_SRC="$PWD/`ls -l | awk '/^d/ { print $NF }'`"
|
||||||
|
cd "$PKG_SRC"
|
||||||
|
|
||||||
|
# Patch source
|
||||||
|
patches="
|
||||||
|
$PKG_NAME.diff $PKG_NAME-$PKG_VERSION.diff
|
||||||
|
$PKG_NAME-$PKG_VERSION-$ARCH.diff $PKG_NAME-$ARCH.diff"
|
||||||
|
for patch in $patches; do
|
||||||
|
if [ -f "$CWD/$patch" ]; then
|
||||||
|
patch -Np1 < "$CWD/$patch" || exit $ERROR_PATCH
|
||||||
|
elif [ -f "$CWD/patches/$patch" ]; then
|
||||||
|
patch -Np1 < "$CWD/patches/$patch" || exit $ERROR_PATCH
|
||||||
|
elif [ -f "$CWD/$patch.gz" ]; then
|
||||||
|
gzip -dc "$CWD/$patch.gz" | patch -Np1 || exit $ERROR_PATCH
|
||||||
|
elif [ -f "$CWD/patches/$patch.gz" ]; then
|
||||||
|
gzip -dc "$CWD/patches/$patch.gz" | patch -Np1 || exit $ERROR_PATCH
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
|
||||||
|
if echo [[PATCH URLS]] | grep -q -v "PATCH URLS"; then
|
||||||
|
for patch_url in [[PATCH URLS]]; do
|
||||||
|
patch="`basename $patch_url`"
|
||||||
|
if [ ! -s "$SRC_DIR/$patch" ]; then
|
||||||
|
wget "$patch_url" -O "$SRC_DIR/$patch" || exit $ERROR_WGET
|
||||||
|
fi
|
||||||
|
if [ "`basename $patch .gz`" != "$patch" ]; then
|
||||||
|
gzip -dc $SRC_DIR/$patch | patch -Np1 || exit $ERROR_PATCH
|
||||||
|
elif [ "`basename $patch .bz2`" != "$patch" ]; then
|
||||||
|
bzip2 -dc $SRC_DIR/$patch | patch -Np1 || exit $ERROR_PATCH
|
||||||
|
else
|
||||||
|
patch -Np1 < "$SRC_DIR/$patch" || exit $ERROR_PATCH
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Build and install package
|
||||||
|
python setup.py build install --root=$PKG
|
||||||
|
|
||||||
|
# Strip binaries
|
||||||
|
( cd "$PKG"
|
||||||
|
find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \
|
||||||
|
xargs strip --strip-unneeded 2> /dev/null
|
||||||
|
find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | \
|
||||||
|
xargs strip --strip-unneeded 2> /dev/null
|
||||||
|
)
|
||||||
|
|
||||||
|
# Install documentation
|
||||||
|
DOCS="COPYING COPYRIGHT FAQ.html README UPGRADING"
|
||||||
|
mkdir -p "$PKG/usr/doc/$PKG_NAME-$PKG_VERSION" || exit $ERROR_MKDIR
|
||||||
|
for doc in $DOCS; do
|
||||||
|
if [ -f "$doc" ]; then
|
||||||
|
cp -a $doc "$PKG/usr/doc/$PKG_NAME-$PKG_VERSION"
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
|
||||||
|
# Add package description (slack-desc)
|
||||||
|
mkdir -p "$PKG/install" || exit $ERROR_MKDIR
|
||||||
|
cat << EODESC > "$PKG/install/slack-desc"
|
||||||
|
# HOW TO EDIT THIS FILE:
|
||||||
|
# The "handy ruler" below makes it easier to edit a package description. Line
|
||||||
|
# up the first '|' above the ':' following the base package name, and the '|'
|
||||||
|
# on the right side marks the last column you can put a character in. You must
|
||||||
|
# make exactly 11 lines for the formatting to be correct. It's also
|
||||||
|
# customary to leave one space after the ':'.
|
||||||
|
|
||||||
|
|-----handy-ruler--------------------------------------------------|
|
||||||
|
offlineimap: offlineimap
|
||||||
|
offlineimap:
|
||||||
|
offlineimap: OfflineIMAP is a tool to simplify your e-mail reading.
|
||||||
|
offlineimap: With OfflineIMAP, you can read the same mailbox from multiple
|
||||||
|
offlineimap: computers. You get a current copy of your messages on each computer,
|
||||||
|
offlineimap: and changes you make one place will be visible on all other systems.
|
||||||
|
offlineimap: For instance, you can delete a message on your home computer, and it
|
||||||
|
offlineimap: will appear deleted on your work computer as well. OfflineIMAP is
|
||||||
|
offlineimap: also useful if you want to use a mail reader that does not have IMAP
|
||||||
|
offlineimap: support, has poor IMAP support, or does not provide disconnected
|
||||||
|
offlineimap: operation.
|
||||||
|
EODESC
|
||||||
|
|
||||||
|
# Build the package
|
||||||
|
cd "$PKG"
|
||||||
|
makepkg -l y -c n "$REPOS/$PKG_NAME-$PKG_VERSION-$ARCH-$BUILD.tgz" || exit $ERROR_MKPKG
|
||||||
|
|
||||||
|
# Delete source and build directories if requested
|
||||||
|
if [ "$CLEANUP" == "yes" ]; then
|
||||||
|
rm -rf "$PKG_WORK" "$PKG"
|
||||||
|
fi
|
79
ap/sdcv/sdcv.SlackBuild
Executable file
79
ap/sdcv/sdcv.SlackBuild
Executable file
|
@ -0,0 +1,79 @@
|
||||||
|
#!/bin/sh
|
||||||
|
set -x
|
||||||
|
# Slackware build script for acpi
|
||||||
|
|
||||||
|
# Written by Grigorios Bouzakis (grbzks@gmail.com)
|
||||||
|
|
||||||
|
PRGNAM=sdcv
|
||||||
|
VERSION=${VERSION:-svn$(date +%F | tr -d '-' )}
|
||||||
|
ARCH=${ARCH:-x86_64}
|
||||||
|
BUILD=${BUILD:-1}
|
||||||
|
TAG=${TAG:-cyco}
|
||||||
|
|
||||||
|
CWD=$(pwd)
|
||||||
|
TMP=${TMP:-/tmp/cyco}
|
||||||
|
PKG=$TMP/package-$PRGNAM
|
||||||
|
OUTPUT=${OUTPUT:-/tmp}
|
||||||
|
|
||||||
|
if [ "$ARCH" = "i486" ]; then
|
||||||
|
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
|
||||||
|
elif [ "$ARCH" = "i686" ]; then
|
||||||
|
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
|
||||||
|
elif [ "$ARCH" = "x86_64" ]; then
|
||||||
|
SLKCFLAGS="-O2 -fPIC"
|
||||||
|
fi
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
|
rm -rf $PKG
|
||||||
|
mkdir -p $TMP $PKG $OUTPUT
|
||||||
|
cd $TMP
|
||||||
|
rm -rf $PRGNAM-$VERSION
|
||||||
|
#tar xvf $CWD/$PRGNAM-$VERSION.tar.?z*
|
||||||
|
svn co https://sdcv.svn.sourceforge.net/svnroot/sdcv/trunk $PRGNAM-$VERSION
|
||||||
|
cd $PRGNAM-$VERSION
|
||||||
|
|
||||||
|
chown -R root:root .
|
||||||
|
find . \
|
||||||
|
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
|
||||||
|
-exec chmod 755 {} \; -o \
|
||||||
|
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
|
||||||
|
-exec chmod 644 {} \;
|
||||||
|
|
||||||
|
[ ! -e ./configure ] && autoreconf
|
||||||
|
|
||||||
|
CFLAGS="$SLKCFLAGS" \
|
||||||
|
CXXFLAGS="$SLKCFLAGS" \
|
||||||
|
./configure \
|
||||||
|
--prefix=/usr \
|
||||||
|
--sysconfdir=/etc \
|
||||||
|
--localstatedir=/var \
|
||||||
|
--mandir=/usr/man \
|
||||||
|
--libdir=/usr/lib64 \
|
||||||
|
--build=$ARCH-slackware-linux
|
||||||
|
|
||||||
|
make
|
||||||
|
make install DESTDIR=$PKG
|
||||||
|
|
||||||
|
( cd $PKG
|
||||||
|
find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \
|
||||||
|
xargs strip --strip-unneeded 2> /dev/null || true
|
||||||
|
find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | \
|
||||||
|
xargs strip --strip-unneeded 2> /dev/null
|
||||||
|
)
|
||||||
|
|
||||||
|
( cd $PKG/usr/man
|
||||||
|
find . -type f -exec gzip -9 {} \;
|
||||||
|
for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
|
||||||
|
)
|
||||||
|
|
||||||
|
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||||
|
cp -a \
|
||||||
|
AUTHORS COPYING ChangeLog INSTALL NEWS README \
|
||||||
|
$PKG/usr/doc/$PRGNAM-$VERSION
|
||||||
|
|
||||||
|
mkdir -p $PKG/install
|
||||||
|
cat $CWD/slack-desc > $PKG/install/slack-desc
|
||||||
|
|
||||||
|
cd $PKG
|
||||||
|
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz
|
121
e/emacs/emacs-git.SlackBuild
Executable file
121
e/emacs/emacs-git.SlackBuild
Executable file
|
@ -0,0 +1,121 @@
|
||||||
|
#!/bin/sh -x
|
||||||
|
|
||||||
|
# variables
|
||||||
|
TMP=/tmp
|
||||||
|
CWD=$(pwd)
|
||||||
|
|
||||||
|
APP_NAME=emacs
|
||||||
|
PKG=$TMP/package-$APP_NAME
|
||||||
|
|
||||||
|
VERSION=cvs$(date +"%Y%m%d")
|
||||||
|
|
||||||
|
ARCH=x86_64
|
||||||
|
BUILD=1cyco
|
||||||
|
|
||||||
|
REPOSITORY=/home/cycojesus/projets/packages/repositories/emacs
|
||||||
|
PREFIX=/usr
|
||||||
|
|
||||||
|
SLCKFLAGS="-O2"
|
||||||
|
|
||||||
|
# nettoyage préalable
|
||||||
|
rm -fr $PKG $TMP/$APP_NAME-$VERSION
|
||||||
|
|
||||||
|
mkdir -p $PKG
|
||||||
|
|
||||||
|
# mise en place
|
||||||
|
cd $TMP
|
||||||
|
mkdir $APP_NAME-$VERSION
|
||||||
|
if [ ! -e $REPOSITORY ] ; then
|
||||||
|
mkdir -p $(dirname $REPOSITORY)
|
||||||
|
cd $(dirname $REPOSITORY)
|
||||||
|
#cvs -z3 -d:pserver:anonymous@cvs.savannah.gnu.org:/sources/emacs co emacs ;
|
||||||
|
git clone http://git.sv.gnu.org/r/emacs.git
|
||||||
|
fi
|
||||||
|
|
||||||
|
cd $REPOSITORY
|
||||||
|
make distclean
|
||||||
|
|
||||||
|
git pull
|
||||||
|
#cvs update
|
||||||
|
|
||||||
|
CFLAGS=$SLCKFLAGS \
|
||||||
|
CXXFLAGS=$SLCKFLAGS \
|
||||||
|
$REPOSITORY/configure \
|
||||||
|
--prefix=$PREFIX \
|
||||||
|
--infodir=$PREFIX/info \
|
||||||
|
--mandir=$PREFIX/man \
|
||||||
|
--libdir=$PREFIX/lib64 \
|
||||||
|
--enable-font-backend \
|
||||||
|
--with-x-toolkit=gtk \
|
||||||
|
--with-freetype \
|
||||||
|
--with-xft
|
||||||
|
make bootstrap
|
||||||
|
|
||||||
|
# cd ..
|
||||||
|
make
|
||||||
|
|
||||||
|
# installation
|
||||||
|
make install DESTDIR=$PKG
|
||||||
|
|
||||||
|
rm $PKG/usr/bin/emacs
|
||||||
|
cat <<EOF > $PKG$PREFIX/bin/emacs
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
XMODIFIERS= GTK_IM_MODULE= QT_IM_MODULE= $(basename $(ls $PKG$PREFIX/bin/emacs-*.*.*)) "\$@"
|
||||||
|
EOF
|
||||||
|
chmod +x $PKG$PREFIX/bin/emacs
|
||||||
|
|
||||||
|
# correction
|
||||||
|
cd $PKG
|
||||||
|
chown -R root:root *
|
||||||
|
|
||||||
|
[ -d $PKG/usr/man ] && find $PKG/usr/man -type f -name "*.?" -exec gzip -9f {} \;
|
||||||
|
[ -d $PKG/usr/info ] && find $PKG/usr/info -type f -name "*" -exec gzip -9f {} \;
|
||||||
|
gunzip $PKG/usr/info/dir.gz
|
||||||
|
|
||||||
|
# Strip binaries
|
||||||
|
( cd $PKG
|
||||||
|
find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
|
||||||
|
find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
|
# embaumement
|
||||||
|
mkdir -p $PKG/install
|
||||||
|
cat <<EOF > $PKG/install/doinst.sh
|
||||||
|
# Vim ships a better (IMHO) version of ctags, and we don't want
|
||||||
|
# to overwrite it with this one. If you really want emacs' ctags
|
||||||
|
# either copy or link it into place yourself, or remove the vim
|
||||||
|
# packages and reinstall emacs. Besides, does anyone know/use
|
||||||
|
# *both* emacs and vi? I'd think that would bring the universe
|
||||||
|
# to an end. ;-)
|
||||||
|
if [ ! -e usr/bin/ctags ]; then
|
||||||
|
cp -a usr/bin/ctags-emacs usr/bin/ctags
|
||||||
|
cp -a usr/man/man1/ctags-emacs.1.gz usr/man/man1/ctags.1.gz
|
||||||
|
fi
|
||||||
|
EOF
|
||||||
|
cat <<EOF > $PKG/install/slack-desc
|
||||||
|
# HOW TO EDIT THIS FILE:
|
||||||
|
# The "handy ruler" below makes it easier to edit a package description. Line
|
||||||
|
# up the first '|' above the ':' following the base package name, and the '|'
|
||||||
|
# on the right side marks the last column you can put a character in. You must
|
||||||
|
# make exactly 11 lines for the formatting to be correct. It's also
|
||||||
|
# customary to leave one space after the ':'.
|
||||||
|
|
||||||
|
|-----handy-ruler------------------------------------------------------|
|
||||||
|
$APP_NAME: $APP_NAME (Almighty editor)
|
||||||
|
$APP_NAME:
|
||||||
|
$APP_NAME: GNU Emacs is a version of Emacs, written by the author of the
|
||||||
|
$APP_NAME: original (PDP-10) Emacs, Richard Stallman.
|
||||||
|
$APP_NAME:
|
||||||
|
$APP_NAME: The one and only.
|
||||||
|
$APP_NAME:
|
||||||
|
$APP_NAME:
|
||||||
|
$APP_NAME:
|
||||||
|
$APP_NAME:
|
||||||
|
$APP_NAME: see /usr/doc/$APP_NAME-$VERSION$VERSION for more details
|
||||||
|
EOF
|
||||||
|
|
||||||
|
# empaquetage
|
||||||
|
cd $PKG
|
||||||
|
makepkg -l y -c n $TMP/$APP_NAME-$VERSION-$ARCH-$BUILD.txz
|
112
e/emacs/emacs.SlackBuild
Executable file
112
e/emacs/emacs.SlackBuild
Executable file
|
@ -0,0 +1,112 @@
|
||||||
|
#!/bin/sh -x
|
||||||
|
|
||||||
|
# variables
|
||||||
|
TMP=/tmp
|
||||||
|
CWD=$(pwd)
|
||||||
|
|
||||||
|
APP_NAME=emacs
|
||||||
|
PKG=$TMP/package-$APP_NAME
|
||||||
|
|
||||||
|
VERSION=23.1
|
||||||
|
|
||||||
|
ARCH=x86_64
|
||||||
|
BUILD=1cyco
|
||||||
|
|
||||||
|
#REPOSITORY=/home/cycojesus/projets/packages/repositories/emacs
|
||||||
|
REPOSITORY=.
|
||||||
|
PREFIX=/usr
|
||||||
|
|
||||||
|
SLCKFLAGS="-O2"
|
||||||
|
|
||||||
|
# nettoyage préalable
|
||||||
|
rm -fr $PKG $TMP/$APP_NAME-$VERSION
|
||||||
|
|
||||||
|
mkdir -p $PKG
|
||||||
|
|
||||||
|
# mise en place
|
||||||
|
cd $TMP
|
||||||
|
tar xf $CWD/$APP_NAME-$VERSION.tar.?z*
|
||||||
|
cd $APP_NAME-$VERSION
|
||||||
|
# mkdir $APP_NAME-$VERSION
|
||||||
|
# if [ ! -e $REPOSITORY ] ; then
|
||||||
|
# mkdir -p $(dirname $REPOSITORY)
|
||||||
|
# cd $(dirname $REPOSITORY)
|
||||||
|
# #cvs -z3 -d:pserver:anonymous@cvs.savannah.gnu.org:/sources/emacs co emacs ;
|
||||||
|
# git clone http://git.sv.gnu.org/r/emacs.git
|
||||||
|
# fi
|
||||||
|
|
||||||
|
# cd $REPOSITORY
|
||||||
|
# make distclean
|
||||||
|
|
||||||
|
# git pull
|
||||||
|
#cvs update
|
||||||
|
|
||||||
|
CFLAGS=$SLCKFLAGS \
|
||||||
|
CXXFLAGS=$SLCKFLAGS \
|
||||||
|
$REPOSITORY/configure \
|
||||||
|
--prefix=$PREFIX \
|
||||||
|
--infodir=$PREFIX/info \
|
||||||
|
--mandir=$PREFIX/man \
|
||||||
|
--libdir=$PREFIX/lib64 \
|
||||||
|
--enable-font-backend \
|
||||||
|
--with-x-toolkit=gtk \
|
||||||
|
--with-freetype \
|
||||||
|
--with-xft
|
||||||
|
#make bootstrap
|
||||||
|
|
||||||
|
# cd ..
|
||||||
|
make
|
||||||
|
|
||||||
|
# installation
|
||||||
|
make install DESTDIR=$PKG
|
||||||
|
|
||||||
|
rm $PKG/usr/bin/emacs
|
||||||
|
cat <<EOF > $PKG$PREFIX/bin/emacs
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
XMODIFIERS= GTK_IM_MODULE= QT_IM_MODULE= $(basename $(ls $PKG$PREFIX/bin/emacs-$VERSION*)) \$@
|
||||||
|
EOF
|
||||||
|
chmod +x $PKG$PREFIX/bin/emacs
|
||||||
|
|
||||||
|
# correction
|
||||||
|
cd $PKG
|
||||||
|
chown -R root:root *
|
||||||
|
|
||||||
|
[ -d $PKG/usr/man ] && find $PKG/usr/man -type f -name "*.?" -exec gzip -9f {} \;
|
||||||
|
[ -d $PKG/usr/info ] && find $PKG/usr/info -type f -name "*" -exec gzip -9f {} \;
|
||||||
|
gunzip $PKG/usr/info/dir.gz
|
||||||
|
|
||||||
|
# Strip binaries
|
||||||
|
( cd $PKG
|
||||||
|
find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
|
||||||
|
find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
|
# embaumement
|
||||||
|
mkdir -p $PKG/install
|
||||||
|
cat <<EOF > $PKG/install/slack-desc
|
||||||
|
# HOW TO EDIT THIS FILE:
|
||||||
|
# The "handy ruler" below makes it easier to edit a package description. Line
|
||||||
|
# up the first '|' above the ':' following the base package name, and the '|'
|
||||||
|
# on the right side marks the last column you can put a character in. You must
|
||||||
|
# make exactly 11 lines for the formatting to be correct. It's also
|
||||||
|
# customary to leave one space after the ':'.
|
||||||
|
|
||||||
|
|-----handy-ruler------------------------------------------------------|
|
||||||
|
$APP_NAME: $APP_NAME (Almighty editor)
|
||||||
|
$APP_NAME:
|
||||||
|
$APP_NAME: GNU Emacs is a version of Emacs, written by the author of the
|
||||||
|
$APP_NAME: original (PDP-10) Emacs, Richard Stallman.
|
||||||
|
$APP_NAME:
|
||||||
|
$APP_NAME: The one and only.
|
||||||
|
$APP_NAME:
|
||||||
|
$APP_NAME:
|
||||||
|
$APP_NAME:
|
||||||
|
$APP_NAME:
|
||||||
|
$APP_NAME: see /usr/doc/$APP_NAME-$VERSION$VERSION for more details
|
||||||
|
EOF
|
||||||
|
|
||||||
|
# empaquetage
|
||||||
|
cd $PKG
|
||||||
|
makepkg -l y -c n $TMP/$APP_NAME-$VERSION-$ARCH-$BUILD.txz
|
82
l/libev/libev.SlackBuild
Executable file
82
l/libev/libev.SlackBuild
Executable file
|
@ -0,0 +1,82 @@
|
||||||
|
#!/bin/sh -x
|
||||||
|
|
||||||
|
# variables
|
||||||
|
TMP=/tmp
|
||||||
|
CWD=$(pwd)
|
||||||
|
|
||||||
|
APP_NAME=libev
|
||||||
|
PKG=$TMP/package-$APP_NAME
|
||||||
|
|
||||||
|
VERSION=3.8
|
||||||
|
|
||||||
|
EXT=tar.gz
|
||||||
|
|
||||||
|
DOCS="AUTHORS ChangeLog COPYING INSTALL NEWS README TODO"
|
||||||
|
|
||||||
|
ARCH=x86_64
|
||||||
|
BUILD=1cyco
|
||||||
|
|
||||||
|
PREFIX=/usr
|
||||||
|
|
||||||
|
SLCKFLAGS="-fPIC -O2"
|
||||||
|
|
||||||
|
# nettoyage préalable
|
||||||
|
rm -fr $PKG $TMP/$APP_NAME-$VERSION
|
||||||
|
|
||||||
|
mkdir -p $PKG
|
||||||
|
|
||||||
|
# mise en place
|
||||||
|
cd $TMP
|
||||||
|
tar xf $CWD/$APP_NAME-$VERSION.$EXT
|
||||||
|
cd $APP_NAME-$VERSION
|
||||||
|
|
||||||
|
# configuration
|
||||||
|
CFLAGS=$SLCKFLAGS \
|
||||||
|
CPPFLAGS=$SLCKFLAGS \
|
||||||
|
./configure \
|
||||||
|
--prefix=$PREFIX \
|
||||||
|
--mandir=$PREFIX/man \
|
||||||
|
--libdir=$PREFIX/lib64
|
||||||
|
|
||||||
|
# compilation
|
||||||
|
make -j3 PREFIX=$PREFIX
|
||||||
|
|
||||||
|
# installation
|
||||||
|
make install DESTDIR=$PKG
|
||||||
|
|
||||||
|
# correction
|
||||||
|
cd $PKG
|
||||||
|
chown -R root:root *
|
||||||
|
|
||||||
|
mkdir -p $PKG/usr/doc/$APP_NAME-$VERSION
|
||||||
|
cd $TMP/$APP_NAME-$VERSION
|
||||||
|
cp -R $DOCS $PKG/usr/doc/$APP_NAME-$VERSION
|
||||||
|
|
||||||
|
[ -d $PKG/usr/man ] && find $PKG/usr/man -type f -name "*.?" -exec gzip -9f {} \;
|
||||||
|
|
||||||
|
# Strip binaries
|
||||||
|
( cd $PKG
|
||||||
|
find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
|
||||||
|
find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
|
# embaumement
|
||||||
|
mkdir -p $PKG/install
|
||||||
|
cat <<EOF > $PKG/install/slack-desc
|
||||||
|
$APP_NAME: $APP_NAME (one line description here)
|
||||||
|
$APP_NAME:
|
||||||
|
$APP_NAME: More verbose description here, usually from the README file.
|
||||||
|
$APP_NAME:
|
||||||
|
$APP_NAME:
|
||||||
|
$APP_NAME:
|
||||||
|
$APP_NAME:
|
||||||
|
$APP_NAME:
|
||||||
|
$APP_NAME:
|
||||||
|
$APP_NAME: see /usr/doc/$APP_NAME-$VERSION for more details
|
||||||
|
$APP_NAME:
|
||||||
|
EOF
|
||||||
|
|
||||||
|
# empaquetage
|
||||||
|
cd $PKG
|
||||||
|
makepkg -l y -c n $TMP/$APP_NAME-$(echo $VERSION | sed 's/-//g')-$ARCH-$BUILD.txz
|
82
l/libxdg-basedir/libxdg-basedir.SlackBuild
Normal file
82
l/libxdg-basedir/libxdg-basedir.SlackBuild
Normal file
|
@ -0,0 +1,82 @@
|
||||||
|
#!/bin/sh -x
|
||||||
|
|
||||||
|
# variables
|
||||||
|
TMP=/tmp
|
||||||
|
CWD=$(pwd)
|
||||||
|
|
||||||
|
APP_NAME=libxdg-basedir
|
||||||
|
PKG=$TMP/package-$APP_NAME
|
||||||
|
|
||||||
|
VERSION=1.0.0
|
||||||
|
|
||||||
|
EXT=tar.gz
|
||||||
|
|
||||||
|
DOCS="AUTHORS ChangeLog COPYING INSTALL NEWS README TODO"
|
||||||
|
|
||||||
|
ARCH=x86_64
|
||||||
|
BUILD=1cyco
|
||||||
|
|
||||||
|
PREFIX=/usr
|
||||||
|
|
||||||
|
SLCKFLAGS="-fPIC -O2"
|
||||||
|
|
||||||
|
# nettoyage préalable
|
||||||
|
rm -fr $PKG $TMP/$APP_NAME-$VERSION
|
||||||
|
|
||||||
|
mkdir -p $PKG
|
||||||
|
|
||||||
|
# mise en place
|
||||||
|
cd $TMP
|
||||||
|
tar xf $CWD/$APP_NAME-$VERSION.$EXT
|
||||||
|
cd $APP_NAME-$VERSION
|
||||||
|
|
||||||
|
# configuration
|
||||||
|
CFLAGS=$SLCKFLAGS \
|
||||||
|
CPPFLAGS=$SLCKFLAGS \
|
||||||
|
./configure \
|
||||||
|
--prefix=$PREFIX \
|
||||||
|
--mandir=$PREFIX/man \
|
||||||
|
--libdir=$PREFIX/lib64
|
||||||
|
|
||||||
|
# compilation
|
||||||
|
make -j3 PREFIX=$PREFIX
|
||||||
|
|
||||||
|
# installation
|
||||||
|
make install DESTDIR=$PKG
|
||||||
|
|
||||||
|
# correction
|
||||||
|
cd $PKG
|
||||||
|
chown -R root:root *
|
||||||
|
|
||||||
|
mkdir -p $PKG/usr/doc/$APP_NAME-$VERSION
|
||||||
|
cd $TMP/$APP_NAME-$VERSION
|
||||||
|
cp -R $DOCS $PKG/usr/doc/$APP_NAME-$VERSION
|
||||||
|
|
||||||
|
[ -d $PKG/usr/man ] && find $PKG/usr/man -type f -name "*.?" -exec gzip -9f {} \;
|
||||||
|
|
||||||
|
# Strip binaries
|
||||||
|
( cd $PKG
|
||||||
|
find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
|
||||||
|
find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
|
# embaumement
|
||||||
|
mkdir -p $PKG/install
|
||||||
|
cat <<EOF > $PKG/install/slack-desc
|
||||||
|
$APP_NAME: $APP_NAME (one line description here)
|
||||||
|
$APP_NAME:
|
||||||
|
$APP_NAME: More verbose description here, usually from the README file.
|
||||||
|
$APP_NAME:
|
||||||
|
$APP_NAME:
|
||||||
|
$APP_NAME:
|
||||||
|
$APP_NAME:
|
||||||
|
$APP_NAME:
|
||||||
|
$APP_NAME:
|
||||||
|
$APP_NAME: see /usr/doc/$APP_NAME-$VERSION for more details
|
||||||
|
$APP_NAME:
|
||||||
|
EOF
|
||||||
|
|
||||||
|
# empaquetage
|
||||||
|
cd $PKG
|
||||||
|
makepkg -l y -c n $TMP/$APP_NAME-$(echo $VERSION | sed 's/-//g')-$ARCH-$BUILD.txz
|
131
xap/awesome/awesome-git.SlackBuild
Executable file
131
xap/awesome/awesome-git.SlackBuild
Executable file
|
@ -0,0 +1,131 @@
|
||||||
|
#!/bin/sh -x
|
||||||
|
|
||||||
|
# variables
|
||||||
|
TMP=/tmp
|
||||||
|
CWD=$(pwd)
|
||||||
|
|
||||||
|
APP_NAME=awesome
|
||||||
|
PKG=$TMP/package-$APP_NAME
|
||||||
|
|
||||||
|
VERSION=git$(date +%F | sed 's|-||g')
|
||||||
|
SUFFIX=
|
||||||
|
#BRANCH=awesome-next
|
||||||
|
if [ ! "x$BRANCH" == "x" ] ; then
|
||||||
|
APP_NAME=$BRANCH
|
||||||
|
fi
|
||||||
|
|
||||||
|
REPOSITORIES_DIR=/home/cycojesus/projets/packages/repositories
|
||||||
|
|
||||||
|
DOCS="AUTHORS LICENSE README STYLE TODO UPGRADE PATCHES STYLE"
|
||||||
|
|
||||||
|
ARCH=x86_64
|
||||||
|
BUILD=$(expr $(ls $TMP/$APP_NAME-$VERSION.txz | wc -l) + 1)cyco
|
||||||
|
|
||||||
|
PREFIX=/usr
|
||||||
|
|
||||||
|
SLCKFLAGS=""
|
||||||
|
|
||||||
|
# nettoyage préalable
|
||||||
|
rm -fr $PKG $TMP/$APP_NAME-$VERSION
|
||||||
|
|
||||||
|
mkdir -p $PKG
|
||||||
|
|
||||||
|
# mise en place
|
||||||
|
cd $TMP
|
||||||
|
SRC_PATH=$REPOSITORIES_DIR/awesome
|
||||||
|
if [ -e $CWD/$APP_NAME-$VERSION.tar.?z* ] ; then
|
||||||
|
tar xf $CWD/$APP_NAME-$VERSION.tar.?z*
|
||||||
|
SRC_PATH=.
|
||||||
|
cd $TMP/$APP_NAME-$VERSION
|
||||||
|
else
|
||||||
|
if [ ! -e $REPOSITORIES_DIR/awesome ] ; then
|
||||||
|
mkdir -p $(dirname $REPOSITORIES_DIR/awesome)
|
||||||
|
cd $(dirname $REPOSITORIES_DIR/awesome)
|
||||||
|
git clone git://git.naquadah.org/awesome.git
|
||||||
|
fi
|
||||||
|
cd $REPOSITORIES_DIR/awesome
|
||||||
|
git pull #origin $BRANCH
|
||||||
|
rm -fr $TMP/$APP_NAME-$VERSION
|
||||||
|
mkdir -p $TMP/$APP_NAME-$VERSION
|
||||||
|
cd $TMP/$APP_NAME-$VERSION
|
||||||
|
fi
|
||||||
|
|
||||||
|
# configuration
|
||||||
|
cmake \
|
||||||
|
-DPREFIX=$PREFIX \
|
||||||
|
-DWITH_DBUS=1 \
|
||||||
|
-DSYSCONFDIR=/etc \
|
||||||
|
-DAWESOME_DOC_PATH=$PREFIX/doc/$APP_NAME-$VERSION \
|
||||||
|
-DAWESOME_XSESSION_PATH=/usr/share/apps/kdm/sessions \
|
||||||
|
-DAWESOME_MAN_PATH=$PREFIX/man \
|
||||||
|
$SRC_PATH
|
||||||
|
|
||||||
|
|
||||||
|
# compilation
|
||||||
|
make -j3
|
||||||
|
|
||||||
|
# installation
|
||||||
|
make install DESTDIR=$PKG
|
||||||
|
|
||||||
|
# wicked
|
||||||
|
#(
|
||||||
|
# if [ ! -e $REPOSITORIES_DIR/wicked ] ; then
|
||||||
|
# mkdir -p $REPOSITORIES_DIR
|
||||||
|
# cd $(dirname $REPOSITORIES_DIR)
|
||||||
|
# git clone git://git.glacicle.com/awesome/wicked.git
|
||||||
|
# fi
|
||||||
|
# cd $REPOSITORIES_DIR/wicked/
|
||||||
|
# git pull
|
||||||
|
#
|
||||||
|
# mkdir -p $PKG/usr/man/man7
|
||||||
|
# cp $REPOSITORIES_DIR/wicked/wicked.lua $PKG/usr/share/awesome/lib/
|
||||||
|
# cp $REPOSITORIES_DIR/wicked/wicked.7.gz $PKG/usr/man/man7
|
||||||
|
#)
|
||||||
|
|
||||||
|
# org-awesome
|
||||||
|
#(
|
||||||
|
# if [ ! -e $REPOSITORIES_DIR/org-awesome ] ; then
|
||||||
|
# mkdir -p $REPOSITORIES_DIR
|
||||||
|
# cd $(dirname $REPOSITORIES_DIR)
|
||||||
|
# git clone git://fensalir.fr/dleone/org-awesome.git
|
||||||
|
# fi
|
||||||
|
# cd $REPOSITORIES_DIR/org-awesome/
|
||||||
|
# git pull
|
||||||
|
#
|
||||||
|
# cp $REPOSITORIES_DIR/org-awesome/org-awesome.lua $PKG/usr/share/awesome/lib/
|
||||||
|
#)
|
||||||
|
|
||||||
|
# correction
|
||||||
|
cd $PKG
|
||||||
|
chown -R root:root *
|
||||||
|
|
||||||
|
find . -name "*.in" -delete
|
||||||
|
|
||||||
|
[ -d $PKG/usr/man ] && find $PKG/usr/man -type f -name "*.?" -exec gzip -9f {} \;
|
||||||
|
|
||||||
|
# Strip binaries
|
||||||
|
( cd $PKG
|
||||||
|
find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
|
||||||
|
find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
|
# embaumement
|
||||||
|
mkdir -p $PKG/install
|
||||||
|
cat <<EOF > $PKG/install/slack-desc
|
||||||
|
$APP_NAME: $APP_NAME (Tiling Window Manager)
|
||||||
|
$APP_NAME:
|
||||||
|
$APP_NAME: awesome is an extremely fast, small, and dynamic window manager for X.
|
||||||
|
$APP_NAME:
|
||||||
|
$APP_NAME:
|
||||||
|
$APP_NAME:
|
||||||
|
$APP_NAME:
|
||||||
|
$APP_NAME:
|
||||||
|
$APP_NAME:
|
||||||
|
$APP_NAME: see /usr/doc/$APP_NAME-$VERSION for more details
|
||||||
|
$APP_NAME:
|
||||||
|
EOF
|
||||||
|
|
||||||
|
# empaquetage
|
||||||
|
cd $PKG
|
||||||
|
makepkg -l y -c n $TMP/$APP_NAME-$(echo $VERSION | sed 's/-//g')-$ARCH-$BUILD.txz
|
116
xap/gimp-git/gimp.SlackBuild
Executable file
116
xap/gimp-git/gimp.SlackBuild
Executable file
|
@ -0,0 +1,116 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
# Copyright 2008, 2009 Patrick J. Volkerding, Sebeka, MN, USA
|
||||||
|
# All rights reserved.
|
||||||
|
#
|
||||||
|
# Redistribution and use of this script, with or without modification, is
|
||||||
|
# permitted provided that the following conditions are met:
|
||||||
|
#
|
||||||
|
# 1. Redistributions of this script must retain the above copyright
|
||||||
|
# notice, this list of conditions and the following disclaimer.
|
||||||
|
#
|
||||||
|
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
|
||||||
|
# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||||
|
# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
|
||||||
|
# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||||
|
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
|
||||||
|
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
|
||||||
|
# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
||||||
|
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
|
||||||
|
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
|
||||||
|
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
|
|
||||||
|
VERSION=git$(date +%F | tr -d '-')
|
||||||
|
ARCH=${ARCH:-x86_64}
|
||||||
|
BUILD=${BUILD:-1cyco}
|
||||||
|
|
||||||
|
NUMJOBS=${NUMJOBS:-" -j7 "}
|
||||||
|
|
||||||
|
CWD=$(pwd)
|
||||||
|
TMP=${TMP:-/tmp}
|
||||||
|
PKG=$TMP/package-gimp
|
||||||
|
rm -rf $PKG
|
||||||
|
mkdir -p $TMP $PKG
|
||||||
|
|
||||||
|
if [ "$ARCH" = "i486" ]; then
|
||||||
|
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
|
||||||
|
LIBDIRSUFFIX=""
|
||||||
|
elif [ "$ARCH" = "s390" ]; then
|
||||||
|
SLKCFLAGS="-O2"
|
||||||
|
LIBDIRSUFFIX=""
|
||||||
|
elif [ "$ARCH" = "x86_64" ]; then
|
||||||
|
SLKCFLAGS="-O2 -fPIC"
|
||||||
|
LIBDIRSUFFIX="64"
|
||||||
|
fi
|
||||||
|
|
||||||
|
cd $TMP
|
||||||
|
rm -rf gimp-$VERSION
|
||||||
|
#tar xvf $CWD/gimp-$VERSION.tar.bz2 || exit 1
|
||||||
|
( cd $CWD/gimp
|
||||||
|
git pull
|
||||||
|
)
|
||||||
|
mkdir gimp-$VERSION
|
||||||
|
cd gimp-$VERSION || exit 1
|
||||||
|
chown -R root:root .
|
||||||
|
find . \
|
||||||
|
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
|
||||||
|
-exec chmod 755 {} \; -o \
|
||||||
|
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
|
||||||
|
-exec chmod 644 {} \;
|
||||||
|
|
||||||
|
CFLAGS="$SLKCFLAGS" \
|
||||||
|
$CWD/gimp/autogen.sh \
|
||||||
|
--prefix=/usr \
|
||||||
|
--libdir=/usr/lib${LIBDIRSUFFIX} \
|
||||||
|
--sysconfdir=/etc \
|
||||||
|
--localstatedir=/var/lib \
|
||||||
|
--mandir=/usr/man \
|
||||||
|
--infodir=/usr/info \
|
||||||
|
--docdir=/usr/doc/gimp-$VERSION \
|
||||||
|
--disable-static \
|
||||||
|
--enable-gimp-remote \
|
||||||
|
--without-gvfs \
|
||||||
|
--with-libcurl \
|
||||||
|
--build=$ARCH-slackware-linux
|
||||||
|
|
||||||
|
make $NUMJOBS || make || exit 1
|
||||||
|
mkdir -p $PKG/usr/share/applications $PKG/usr/share/application-registry
|
||||||
|
make install DESTDIR=$PKG || exit 1
|
||||||
|
|
||||||
|
( cd $PKG/usr/bin
|
||||||
|
ln -s gimp-remote-2.7 gimp-remote
|
||||||
|
ln -s gimp-console-2.7 gimp-console
|
||||||
|
ln -s gimp-2.7 gimp
|
||||||
|
ln -s gimptool-2.0 gimptool
|
||||||
|
)
|
||||||
|
|
||||||
|
# Add a manpage symlink for POLA-compliance
|
||||||
|
( cd $PKG/usr/man/man1 ; ln -sf gimptool-2.?.1 gimptool.1 )
|
||||||
|
|
||||||
|
( cd $PKG/usr/man
|
||||||
|
find . -type f -exec gzip -9 {} \;
|
||||||
|
for i in $(find . -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done
|
||||||
|
)
|
||||||
|
|
||||||
|
mkdir -p $PKG/usr/doc/gimp-$VERSION
|
||||||
|
cp -a \
|
||||||
|
AUTHORS COPYING HACKING INSTALL LICENSE NEWS README* docs/Wilber* \
|
||||||
|
$PKG/usr/doc/gimp-$VERSION
|
||||||
|
( cd $PKG/usr/doc/gimp-$VERSION
|
||||||
|
for i in \
|
||||||
|
libgimp libgimpbase libgimpcolor libgimpconfig libgimpmath \
|
||||||
|
libgimpmodule libgimpthumb libgimpwidgets ; do \
|
||||||
|
ln -s /usr/share/gtk-doc/html/$i $i-html ;
|
||||||
|
done
|
||||||
|
)
|
||||||
|
|
||||||
|
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
|
||||||
|
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
|
||||||
|
|
||||||
|
mkdir -p $PKG/install
|
||||||
|
cat $CWD/slack-desc > $PKG/install/slack-desc
|
||||||
|
|
||||||
|
cd $PKG
|
||||||
|
/sbin/makepkg -l y -c n $TMP/gimp-$VERSION-$ARCH-$BUILD.txz
|
||||||
|
|
19
xap/gimp-git/slack-desc
Normal file
19
xap/gimp-git/slack-desc
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
# HOW TO EDIT THIS FILE:
|
||||||
|
# The "handy ruler" below makes it easier to edit a package description. Line
|
||||||
|
# up the first '|' above the ':' following the base package name, and the '|'
|
||||||
|
# on the right side marks the last column you can put a character in. You must
|
||||||
|
# make exactly 11 lines for the formatting to be correct. It's also
|
||||||
|
# customary to leave one space after the ':'.
|
||||||
|
|
||||||
|
|-----handy-ruler------------------------------------------------------|
|
||||||
|
gimp: gimp (The GNU Image Manipulation Program)
|
||||||
|
gimp:
|
||||||
|
gimp: The GIMP is a powerful tool for the preparation and manipulation of
|
||||||
|
gimp: digital images. The GIMP provides the user with a wide variety of
|
||||||
|
gimp: image manipulation, painting, processing, and rendering tools. The
|
||||||
|
gimp: GIMP's open design and extensible architecture make for a very
|
||||||
|
gimp: powerful end product for photo and image retouching, web graphics
|
||||||
|
gimp: design, or digital illustration.
|
||||||
|
gimp:
|
||||||
|
gimp:
|
||||||
|
gimp:
|
81
xap/lxappearance/lxappearance.SlackBuild
Normal file
81
xap/lxappearance/lxappearance.SlackBuild
Normal file
|
@ -0,0 +1,81 @@
|
||||||
|
#!/bin/sh -x
|
||||||
|
|
||||||
|
# variables
|
||||||
|
TMP=/tmp
|
||||||
|
CWD=$(pwd)
|
||||||
|
|
||||||
|
APP_NAME=lxappearance
|
||||||
|
PKG=$TMP/package-$APP_NAME
|
||||||
|
|
||||||
|
VERSION=0.2
|
||||||
|
|
||||||
|
EXT=tar.gz
|
||||||
|
|
||||||
|
DOCS="AUTHORS ChangeLog COPYING INSTALL NEWS README TODO"
|
||||||
|
|
||||||
|
ARCH=x86_64
|
||||||
|
BUILD=1cyco
|
||||||
|
|
||||||
|
PREFIX=/usr
|
||||||
|
|
||||||
|
SLCKFLAGS="-fPIC -O2"
|
||||||
|
|
||||||
|
# nettoyage préalable
|
||||||
|
rm -fr $PKG $TMP/$APP_NAME-$VERSION
|
||||||
|
|
||||||
|
mkdir -p $PKG
|
||||||
|
|
||||||
|
# mise en place
|
||||||
|
cd $TMP
|
||||||
|
tar xf $CWD/$APP_NAME-$VERSION.$EXT
|
||||||
|
cd $APP_NAME-$VERSION
|
||||||
|
|
||||||
|
# configuration
|
||||||
|
CFLAGS=$SLCKFLAGS \
|
||||||
|
CPPFLAGS=$SLCKFLAGS \
|
||||||
|
./configure \
|
||||||
|
--prefix=$PREFIX \
|
||||||
|
--mandir=$PREFIX/man
|
||||||
|
|
||||||
|
# compilation
|
||||||
|
make -j3 PREFIX=$PREFIX
|
||||||
|
|
||||||
|
# installation
|
||||||
|
make install DESTDIR=$PKG
|
||||||
|
|
||||||
|
# correction
|
||||||
|
cd $PKG
|
||||||
|
chown -R root:root *
|
||||||
|
|
||||||
|
mkdir -p $PKG/usr/doc/$APP_NAME-$VERSION
|
||||||
|
cd $TMP/$APP_NAME-$VERSION
|
||||||
|
cp -R $DOCS $PKG/usr/doc/$APP_NAME-$VERSION
|
||||||
|
|
||||||
|
[ -d $PKG/usr/man ] && find $PKG/usr/man -type f -name "*.?" -exec gzip -9f {} \;
|
||||||
|
|
||||||
|
# Strip binaries
|
||||||
|
( cd $PKG
|
||||||
|
find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
|
||||||
|
find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
|
# embaumement
|
||||||
|
mkdir -p $PKG/install
|
||||||
|
cat <<EOF > $PKG/install/slack-desc
|
||||||
|
$APP_NAME: $APP_NAME (GTK+2 theme configurator)
|
||||||
|
$APP_NAME:
|
||||||
|
$APP_NAME: LXAppearance is part of LXDE project.
|
||||||
|
$APP_NAME: It's a desktop-independent theme swither for GTK+.
|
||||||
|
$APP_NAME:
|
||||||
|
$APP_NAME:
|
||||||
|
$APP_NAME:
|
||||||
|
$APP_NAME:
|
||||||
|
$APP_NAME:
|
||||||
|
$APP_NAME: see /usr/doc/$APP_NAME-$VERSION for more details
|
||||||
|
$APP_NAME:
|
||||||
|
EOF
|
||||||
|
|
||||||
|
# empaquetage
|
||||||
|
cd $PKG
|
||||||
|
makepkg -l y -c n $TMP/$APP_NAME-$(echo $VERSION | sed 's/-//g')-$ARCH-$BUILD.txz
|
109
xap/qemu/qemu.SlackBuild
Executable file
109
xap/qemu/qemu.SlackBuild
Executable file
|
@ -0,0 +1,109 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
# Slackware build script for qemu
|
||||||
|
|
||||||
|
# Copyright 2009 Andrew Brouwers <abrouwers@gmail.com>
|
||||||
|
# All rights reserved.
|
||||||
|
#
|
||||||
|
# Redistribution and use of this script, with or without modification, is
|
||||||
|
# permitted provided that the following conditions are met:
|
||||||
|
#
|
||||||
|
# 1. Redistributions of this script must retain the above copyright
|
||||||
|
# notice, this list of conditions and the following disclaimer.
|
||||||
|
#
|
||||||
|
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED
|
||||||
|
# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||||
|
# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
|
||||||
|
# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||||
|
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
|
||||||
|
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
|
||||||
|
# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
||||||
|
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
|
||||||
|
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
|
||||||
|
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
|
# Modified by the SlackBuilds.org project
|
||||||
|
|
||||||
|
PRGNAM=qemu
|
||||||
|
VERSION=0.11.0
|
||||||
|
ARCH=${ARCH:-x86_64}
|
||||||
|
BUILD=${BUILD:-1}
|
||||||
|
TAG=${TAG:-_SBo}
|
||||||
|
|
||||||
|
CWD=$(pwd)
|
||||||
|
TMP=${TMP:-/tmp/SBo}
|
||||||
|
PKG=${PKG:-/tmp/SBo/package-$PRGNAM}
|
||||||
|
OUTPUT=${OUTPUT:-/tmp}
|
||||||
|
|
||||||
|
if [ "$ARCH" = "i486" ]; then
|
||||||
|
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
|
||||||
|
LIBDIRSUFFIX=""
|
||||||
|
elif [ "$ARCH" = "i686" ]; then
|
||||||
|
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
|
||||||
|
LIBDIRSUFFIX=""
|
||||||
|
elif [ "$ARCH" = "x86_64" ]; then
|
||||||
|
SLKCFLAGS="-O2 -fPIC"
|
||||||
|
LIBDIRSUFFIX="64"
|
||||||
|
fi
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
|
rm -rf $PKG
|
||||||
|
mkdir -p $TMP $PKG $OUTPUT
|
||||||
|
cd $TMP
|
||||||
|
rm -rf $PRGNAM-$VERSION
|
||||||
|
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
|
||||||
|
cd $PRGNAM-$VERSION
|
||||||
|
chown -R root:root .
|
||||||
|
chmod -R u+w,go+r-w,a-s .
|
||||||
|
|
||||||
|
cat $CWD/tosa.patch | patch -p1
|
||||||
|
|
||||||
|
# --libdir isn't recognized and isn't needed anyway
|
||||||
|
CFLAGS="$SLKCFLAGS" \
|
||||||
|
CXXFLAGS="$SLKCFLAGS" \
|
||||||
|
./configure \
|
||||||
|
--prefix=/usr \
|
||||||
|
--enable-system \
|
||||||
|
--audio-drv-list=alsa,oss,sdl,esd
|
||||||
|
|
||||||
|
make OS_CFLAGS="$SLKCFLAGS" BUILD_DOCS=1
|
||||||
|
make install DESTDIR=$PKG
|
||||||
|
|
||||||
|
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
|
||||||
|
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
|
||||||
|
|
||||||
|
mv $PKG/usr/share/man $PKG/usr
|
||||||
|
gzip -9 $PKG/usr/man/man?/*.?
|
||||||
|
|
||||||
|
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||||
|
cp -a TODO README LICENSE COPYING COPYING.LIB MAINTAINERS \
|
||||||
|
$PKG/usr/doc/$PRGNAM-$VERSION
|
||||||
|
mv $PKG/usr/share/doc/qemu/* $PKG/usr/doc/$PRGNAM-$VERSION/
|
||||||
|
rm -rf $PKG/usr/share/doc
|
||||||
|
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||||
|
|
||||||
|
mkdir -p $PKG/install
|
||||||
|
cat <<EOF > $PKG/install/slack-desc
|
||||||
|
# HOW TO EDIT THIS FILE:
|
||||||
|
# The "handy ruler" below makes it easier to edit a package description. Line
|
||||||
|
# up the first '|' above the ':' following the base package name, and the '|'
|
||||||
|
# on the right side marks the last column you can put a character in. You must
|
||||||
|
# make exactly 11 lines for the formatting to be correct. It's also
|
||||||
|
# customary to leave one space after the ':'.
|
||||||
|
|
||||||
|
|-----handy-ruler-------------------------------------------------------|
|
||||||
|
qemu: qemu (open source processor emulator)
|
||||||
|
qemu:
|
||||||
|
qemu: QEMU is a generic and open source processor emulator which achieves
|
||||||
|
qemu: a good emulation speed by using dynamic translation.
|
||||||
|
qemu:
|
||||||
|
qemu:
|
||||||
|
qemu:
|
||||||
|
qemu:
|
||||||
|
qemu:
|
||||||
|
qemu:
|
||||||
|
qemu:
|
||||||
|
EOF
|
||||||
|
cd $PKG
|
||||||
|
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$(echo $VERSION | tr - _)-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
|
12
xap/qemu/tosa.patch
Normal file
12
xap/qemu/tosa.patch
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
--- qemu-0.10.5/hw/zaurus.c.orig 2009-05-20 22:46:59.000000000 +0200
|
||||||
|
+++ qemu-0.10.5/hw/zaurus.c 2009-08-15 01:45:57.000000000 +0200
|
||||||
|
@@ -160,7 +160,7 @@
|
||||||
|
|
||||||
|
void scoop_gpio_set(void *opaque, int line, int level)
|
||||||
|
{
|
||||||
|
- ScoopInfo *s = (ScoopInfo *) s;
|
||||||
|
+ ScoopInfo *s = (ScoopInfo *) opaque;
|
||||||
|
|
||||||
|
if (level)
|
||||||
|
s->gpio_level |= (1 << line);
|
||||||
|
|
62
xap/qtile/qtile.SlackBuild
Executable file
62
xap/qtile/qtile.SlackBuild
Executable file
|
@ -0,0 +1,62 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
set -x
|
||||||
|
|
||||||
|
PRGNAM=qtile
|
||||||
|
VERSION=git$(date +%F | tr -d '-' )
|
||||||
|
BUILD=1
|
||||||
|
PACKAGER=cyco
|
||||||
|
|
||||||
|
ARCH=$(uname -m)
|
||||||
|
|
||||||
|
CWD=$(pwd)
|
||||||
|
HOME=/home/cycojesus
|
||||||
|
TMP=/tmp
|
||||||
|
PKG=$TMP/$PACKAGER/pkg-$PRGNAM
|
||||||
|
REPOSITORIES=$HOME/projets/packages/repositories
|
||||||
|
|
||||||
|
rm -fr $PKG $TMP/$PRGNAM-$VERSION
|
||||||
|
|
||||||
|
[ -e $TMP/$PRGNAM-$VERSION ] && rm -fr $TMP/$PRGNAM-$VERSION
|
||||||
|
[ -e $PKG ] && rm -fr $PKG
|
||||||
|
|
||||||
|
( cd $TMP
|
||||||
|
if [ -e $CWD/$PRGNAM-$VERSION.tar.?z* ]; then
|
||||||
|
tar xf $CWD/$PRGNAM-$VERSION.tar.?z*
|
||||||
|
else
|
||||||
|
if [ ! -e $REPOSITORIES/$PRGNAM ]; then
|
||||||
|
git clone git://github.com/cortesi/qtile.git
|
||||||
|
else
|
||||||
|
( cd $REPOSITORIES/$PRGNAM
|
||||||
|
git pull
|
||||||
|
)
|
||||||
|
fi
|
||||||
|
cp -R $REPOSITORIES/$PRGNAM $TMP/$PRGNAM-$VERSION
|
||||||
|
fi
|
||||||
|
)
|
||||||
|
|
||||||
|
( cd $TMP/$PRGNAM-$VERSION
|
||||||
|
python setup.py install --root $PKG
|
||||||
|
|
||||||
|
mkdir -p $PKG$PREFIX/doc/$PRGNAM-$VERSION
|
||||||
|
cp -R examples scripts doc-src contrib $PKG$PREFIX/doc/$PRGNAM-$VERSION
|
||||||
|
|
||||||
|
mkdir -p $PKG/install
|
||||||
|
cat <<EOF > $PKG/install
|
||||||
|
$PRGNAM: $PRGNAM
|
||||||
|
$PRGNAM: A full-featured, pure-Python tiling window manager.
|
||||||
|
$PRGNAM: * Simple, small and extensible. It's easy to write your own layouts,
|
||||||
|
$PRGNAM: widgets and commands.
|
||||||
|
$PRGNAM: * Configured in Python.
|
||||||
|
$PRGNAM: * Command shell that allows all aspects of Qtile to be managed and
|
||||||
|
$PRGNAM: inspected.
|
||||||
|
$PRGNAM: * Complete remote scriptability - write scripts to set up workspaces,
|
||||||
|
$PRGNAM: manipulate windows, update status bar widgets and more.
|
||||||
|
$PRGNAM:
|
||||||
|
$PRGNAM: http://www.qtile.org/
|
||||||
|
EOF
|
||||||
|
)
|
||||||
|
|
||||||
|
( cd $PKG
|
||||||
|
makepkg -l y -c n $TMP/$PRGNAM-$(echo $VERSION | tr - .)-$ARCH-$BUILD$PACKAGER.txz
|
||||||
|
)
|
51
xap/subtle/subtle.SlackBuild
Executable file
51
xap/subtle/subtle.SlackBuild
Executable file
|
@ -0,0 +1,51 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
set -x
|
||||||
|
|
||||||
|
PRGNAM=subtle
|
||||||
|
VERSION=hg$(date +%F | tr -d '-' )
|
||||||
|
BUILD=1
|
||||||
|
PACKAGER=cyco
|
||||||
|
|
||||||
|
ARCH=$(uname -m)
|
||||||
|
|
||||||
|
CWD=$(pwd)
|
||||||
|
HOME=/home/cycojesus
|
||||||
|
TMP=/tmp
|
||||||
|
PKG=$TMP/$PACKAGER/pkg-$PRGNAM
|
||||||
|
REPOSITORIES=$HOME/projets/packages/repositories
|
||||||
|
|
||||||
|
rm -fr $PKG $TMP/$PRGNAM-$VERSION
|
||||||
|
|
||||||
|
[ -e $TMP/$PRGNAM-$VERSION ] && rm -fr $TMP/$PRGNAM-$VERSION
|
||||||
|
[ -e $PKG ] && rm -fr $PKG
|
||||||
|
|
||||||
|
( cd $TMP
|
||||||
|
if [ -e $CWD/$PRGNAM-$VERSION.tar.?z* ]; then
|
||||||
|
tar xf $CWD/$PRGNAM-$VERSION.tar.?z*
|
||||||
|
else
|
||||||
|
if [ ! -e $REPOSITORIES/$PRGNAM ]; then
|
||||||
|
hg clone http://hg.scrapping.cc/subtle $REPOSITORIES/$PRGNAM
|
||||||
|
else
|
||||||
|
( cd $REPOSITORIES/$PRGNAM
|
||||||
|
hg pull
|
||||||
|
hg update
|
||||||
|
)
|
||||||
|
fi
|
||||||
|
cp -R $REPOSITORIES/$PRGNAM $TMP/$PRGNAM-$VERSION
|
||||||
|
fi
|
||||||
|
)
|
||||||
|
|
||||||
|
( cd $TMP/$PRGNAM-$VERSION
|
||||||
|
RAKE_OPTIONS=$([ ! -e ./Rakefile ] && echo " -f $REPOSITORIES/$PRGNAM/Rakefile ")
|
||||||
|
|
||||||
|
rake $RAKE_OPTIONS destdir=$PKG prefix=/usr config
|
||||||
|
|
||||||
|
rake $RAKE_OPTIONS destdir=$PKG prefix=/usr build
|
||||||
|
|
||||||
|
rake $RAKE_OPTIONS destdir=$PKG prefix=/usr install
|
||||||
|
)
|
||||||
|
|
||||||
|
( cd $PKG
|
||||||
|
makepkg -l y -c n $TMP/$PRGNAM-$(echo $VERSION | tr - .)-$ARCH-$BUILD$PACKAGER.txz
|
||||||
|
)
|
55
xap/verbiste/verbiste.SlackBuild
Executable file
55
xap/verbiste/verbiste.SlackBuild
Executable file
|
@ -0,0 +1,55 @@
|
||||||
|
#!/bin/sh
|
||||||
|
# SlackBuild Generic
|
||||||
|
# Généré par SismikMakeBuild
|
||||||
|
# Par Guillaume EDMOND (gedsismik@free.fr)
|
||||||
|
# 20/07/2006
|
||||||
|
|
||||||
|
CWD=`pwd`
|
||||||
|
PKG=$PWD/tgz
|
||||||
|
TMP=$PWD/tmp
|
||||||
|
|
||||||
|
PRGNAM=verbiste
|
||||||
|
VERSION=0.1.27
|
||||||
|
ARCH=$(uname -m)
|
||||||
|
BUILD=1
|
||||||
|
PACKAGER=cyco
|
||||||
|
|
||||||
|
rm -rf $PKG
|
||||||
|
mkdir -p $PKG/install
|
||||||
|
mkdir -p $PKG/usr
|
||||||
|
mkdir -p $TMP
|
||||||
|
cd $TMP
|
||||||
|
rm -rf $PRGNAM-$VERSION
|
||||||
|
tar zxvf $CWD/$PRGNAM-$VERSION.tar.gz
|
||||||
|
cd $PRGNAM-$VERSION
|
||||||
|
chown -R root.root .
|
||||||
|
|
||||||
|
./configure \
|
||||||
|
--prefix=/usr \
|
||||||
|
--mandir=/usr/man \
|
||||||
|
--libdir=/usr/lib$(echo $ARCH | grep -o "\(64\)")
|
||||||
|
make
|
||||||
|
make install DESTDIR=$PKG
|
||||||
|
|
||||||
|
gzip -9 $PKG/usr/man/man?/*
|
||||||
|
gzip -9 $PKG/usr/man/fr/man?/*
|
||||||
|
|
||||||
|
chown -R root.bin $PKG/usr/bin
|
||||||
|
|
||||||
|
cat <<EOF > $PKG/install/slack-desc
|
||||||
|
$PRGNAM: $PRGNAM
|
||||||
|
$PRGNAM: $PRGNAM-sismik-package
|
||||||
|
$PRGNAM:
|
||||||
|
$PRGNAM: $PRGNAM est un syst<73>me de conjugaison fran<61>aise. Il s'agit d'une
|
||||||
|
$PRGNAM: librairie <20>crite en C++, de deux programmes aussi <20>crits en C++
|
||||||
|
$PRGNAM: qui peuvent <20>tre utilis<69>s <20> la ligne de commande ou <20> partir d'un
|
||||||
|
$PRGNAM: autre programme, et d'une applet GNOME.
|
||||||
|
$PRGNAM:
|
||||||
|
$PRGNAM:
|
||||||
|
$PRGNAM: http://perso.b2b2c.ca/sarrazip/dev/verbiste.html
|
||||||
|
$PRGNAM:
|
||||||
|
EOF
|
||||||
|
|
||||||
|
cd $PKG
|
||||||
|
makepkg -l y -c n /tmp/$PRGNAM-$VERSION-$ARCH-$BUILD$PACKAGER.txz
|
||||||
|
|
Loading…
Reference in a new issue