diff options
author | Eric Hameleers <alien@slackware.com> | 2014-03-13 11:40:09 +0000 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2014-03-13 11:40:09 +0000 |
commit | a385edaca17d05f8d71e99066ae7fbd629c7cb4b (patch) | |
tree | 099802780d542a2fbed8823487a10353ba66eb61 /ctorrent | |
parent | bb35b44895553b2efc9eb94d39480dbf6524cafd (diff) | |
download | asb-a385edaca17d05f8d71e99066ae7fbd629c7cb4b.tar.gz asb-a385edaca17d05f8d71e99066ae7fbd629c7cb4b.tar.xz |
Add a man page
Diffstat (limited to 'ctorrent')
-rwxr-xr-x | ctorrent/build/ctorrent.SlackBuild | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/ctorrent/build/ctorrent.SlackBuild b/ctorrent/build/ctorrent.SlackBuild index 106684a9..97dc9901 100755 --- a/ctorrent/build/ctorrent.SlackBuild +++ b/ctorrent/build/ctorrent.SlackBuild @@ -37,7 +37,7 @@ # longer depends on openssl but instead uses it's own internal # sha-1 routines. # dnh3.3.2-2: 13/mar/2014 by Eric Hameleers <alien@slackware.com> -# * Rebuilt for Slackware 14. +# * Rebuilt for Slackware 14. Add a man page. # # Run 'sh ctorrent.SlackBuild' to build a Slackware package. # The package (.tgz) and .txt file as well as build logs are created in /tmp . @@ -166,10 +166,18 @@ cd $TMP/tmp-$PRGNAM echo "Extracting the source archive(s) for $PRGNAM..." tar -xvf ${SOURCE} cd ${PRGNAM}-${PKGVERSION} + +# Add a man page: +cat $SRCDIR/$PRGNAM-$PKGVERSION-man.patch | patch -p1 --verbose \ + 2>&1 | tee $OUTPUT/patch-${PRGNAM}.log + chown -R root:root . chmod -R u+w,go+r-w,a+rX-st . echo Building ... +# Because of the patch, we need to run autoreconf: +autoreconf -vif 2>&1 | tee $OUTPUT/configure-${PRGNAM}.log + LDFLAGS="$SLKLDFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ CFLAGS="$SLKCFLAGS" \ @@ -183,7 +191,7 @@ CFLAGS="$SLKCFLAGS" \ --program-prefix= \ --program-suffix= \ --build=$TARGET \ - 2>&1 | tee $OUTPUT/configure-${PRGNAM}.log + 2>&1 | tee -a $OUTPUT/configure-${PRGNAM}.log make 2>&1 | tee $OUTPUT/make-${PRGNAM}.log make DESTDIR=$PKG install 2>&1 |tee $OUTPUT/install-${PRGNAM}.log |