diff options
author | Dave Woodfall <dave@tty1.uk> | 2018-11-27 10:02:01 +0000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2018-12-01 07:27:58 +0700 |
commit | 941563a1cb724e62bfffac3b39a5e4c8081c3a60 (patch) | |
tree | 69b365b816c57c28a8c602caf9d6b8522f440183 /network/geomyidae/geomyidae.SlackBuild | |
parent | edd4fd09305198ea3c1844d45f097942b28dfa76 (diff) |
network/geomyidae: Update to v0.34
Diffstat (limited to 'network/geomyidae/geomyidae.SlackBuild')
-rw-r--r-- | network/geomyidae/geomyidae.SlackBuild | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/network/geomyidae/geomyidae.SlackBuild b/network/geomyidae/geomyidae.SlackBuild index c708c7ea994e..2db6aaeebc51 100644 --- a/network/geomyidae/geomyidae.SlackBuild +++ b/network/geomyidae/geomyidae.SlackBuild @@ -22,7 +22,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=geomyidae -VERSION=${VERSION:-v0.32} +VERSION=${VERSION:-v0.34} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -68,6 +68,9 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +sed -i 's,PREFIX =.*,PREFIX = /usr,' Makefile +sed -i 's,MANDIR = .*,MANDIR = ${PREFIX}/man/man8,' Makefile + CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ make @@ -77,17 +80,14 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true mkdir -p $PKG/etc/rc.d -cat $CWD/rc.geomyidae.new > $PKG/etc/rc.d/rc.geomyidae.new - -mv $PKG/usr/share/man $PKG/usr -rm -r $PKG/usr/share +cat rc.d/rc.geomyidae > $PKG/etc/rc.d/rc.geomyidae.new find $PKG/usr/man -type f -exec gzip -9 {} \; for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ - LICENSE README LINKS index.gph \ + LICENSE README LINKS index.gph gph \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild |