diff options
author | Eric Hameleers <alien@slackware.com> | 2008-05-18 14:57:48 +0000 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2008-05-18 14:57:48 +0000 |
commit | b41542cb62b09efc514f26a9ee8dc68f496c1a22 (patch) | |
tree | f8126e6950f41a706284d0beb3bf0244e9706bc4 /slang/build/slang.SlackBuild | |
parent | 8dff1d5126386d93680f18c432c6e6679e47c17f (diff) | |
download | asb-b41542cb62b09efc514f26a9ee8dc68f496c1a22.tar.gz asb-b41542cb62b09efc514f26a9ee8dc68f496c1a22.tar.xz |
Updated for 2.1.3
Diffstat (limited to 'slang/build/slang.SlackBuild')
-rwxr-xr-x | slang/build/slang.SlackBuild | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/slang/build/slang.SlackBuild b/slang/build/slang.SlackBuild index 80700396..abfa369d 100755 --- a/slang/build/slang.SlackBuild +++ b/slang/build/slang.SlackBuild @@ -4,10 +4,10 @@ if [ "$TMP" = "" ]; then TMP=/tmp fi -VERSION=${VERSION:-2.0.7} -DOCV=${DOCV:-2.0.4} +VERSION=${VERSION:-2.1.3} +#DOCV=${DOCV:-2.0.4} ARCH=${ARCH:-i486} -BUILD=${BUILD:-1} +BUILD=${BUILD:-1alien} if [ "$ARCH" = "i386" ]; then SLKCFLAGS="-O2 -march=i386 -mcpu=i686" @@ -31,18 +31,19 @@ chown -R root:root . CFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ + --mandir=/usr/man \ --sysconfdir=/etc \ --includedir=/usr/include \ - $ARCH-slackware-linux + --build=$ARCH-slackware-linux make -j4 || exit 1 make install DESTDIR=$PKG make -j4 elf || exit 1 make install-elf DESTDIR=$PKG +make -j4 static || exit 1 +make install-static DESTDIR=$PKG chmod 755 $PKG/usr/lib/libslang.so.$VERSION -# --disable-static doesn't always work, but this is guaranteed: -#rm -f $PKG/usr/lib/*.a ( cd $PKG find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null @@ -71,16 +72,16 @@ rmdir $PKG/usr/share/doc mkdir -p $PKG/usr/doc/slang-$VERSION cp -a \ - COPYING INSTALL.pc INSTALL.unx INSTALL.vms NEWS README UPGRADE.txt \ + COPYING* INSTALL.pc INSTALL.unx INSTALL.vms NEWS README UPGRADE.txt \ $PKG/usr/doc/slang-$VERSION # Add some additional documentation: -tar xjvf $CWD/slangdoc-$DOCV.tar.bz2 -chown -R root:root doc -cp -a doc/html $PKG/usr/doc/slang-$VERSION +#tar xjvf $CWD/slangdoc-$DOCV.tar.bz2 +#chown -R root:root doc +#cp -a doc/html $PKG/usr/doc/slang-$VERSION mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc cd $PKG -makepkg -l y -c n $TMP/slang-${VERSION}_static-$ARCH-$BUILD.tgz +makepkg -l y -c n $TMP/slang-${VERSION}_static-${ARCH}-${BUILD}.tgz |