diff options
author | Dimitris Zlatanidis <d.zlatanidis@gmail.com> | 2014-05-07 17:53:10 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2014-05-12 07:35:49 +0700 |
commit | 12d80c284ff6f74749f132215c8d1333c0e26499 (patch) | |
tree | 8a39e495d6e991d0cf20433e18f767fc20ae7f72 /development/menhir | |
parent | 088e8b158bfc72cd1f31b3c132d66ad3bfa83a7a (diff) |
development/menhir: Updated for version 20140422.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/menhir')
-rw-r--r-- | development/menhir/doinst.sh | 3 | ||||
-rw-r--r-- | development/menhir/menhir.SlackBuild | 16 | ||||
-rw-r--r-- | development/menhir/menhir.info | 6 |
3 files changed, 12 insertions, 13 deletions
diff --git a/development/menhir/doinst.sh b/development/menhir/doinst.sh new file mode 100644 index 0000000000000..5fb28930db0b9 --- /dev/null +++ b/development/menhir/doinst.sh @@ -0,0 +1,3 @@ +if [ -x /usr/bin/update-desktop-database ]; then + /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 +fi diff --git a/development/menhir/menhir.SlackBuild b/development/menhir/menhir.SlackBuild index cda403ac55d80..3bfa6108423e8 100644 --- a/development/menhir/menhir.SlackBuild +++ b/development/menhir/menhir.SlackBuild @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=menhir -VERSION=${VERSION:-20130911} +VERSION=${VERSION:-20140422} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -74,22 +74,17 @@ 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 {} \; +# fix doc and man page path +sed -i -e 's/share\/doc/doc\//' -e 's/share\/man/man\//' Makefile + CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ +make PREFIX=$PKG/usr all make install PREFIX=$PKG/usr find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true -find $PKG -name perllocal.pod \ - -o -name ".packlist" \ - -o -name "*.bs" \ - | xargs rm -f - -mkdir -p $PKG/usr/man -mv $PKG/usr/share/man/man1 $PKG/usr/man -rm -rf $PKG/usr/share/man - 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 @@ -99,6 +94,7 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc +cat $CWD/doinst.sh > $PKG/install/doinst.sh cd $PKG /sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/development/menhir/menhir.info b/development/menhir/menhir.info index b6f41b46adc8f..dea167d8c3d2a 100644 --- a/development/menhir/menhir.info +++ b/development/menhir/menhir.info @@ -1,8 +1,8 @@ PRGNAM="menhir" -VERSION="20130911" +VERSION="20140422" HOMEPAGE="http://cristal.inria.fr/~fpottier/menhir/" -DOWNLOAD="http://cristal.inria.fr/~fpottier/menhir/menhir-20130911.tar.gz" -MD5SUM="66374f3626f9403b37eed43819210113" +DOWNLOAD="http://cristal.inria.fr/~fpottier/menhir/menhir-20140422.tar.gz" +MD5SUM="86c410cb088423cec7e20965e70cd8b4" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="ocaml-findlib" |