mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
development/menhir: Updated for version 20140422.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
088e8b158b
commit
12d80c284f
3 changed files with 12 additions and 13 deletions
3
development/menhir/doinst.sh
Normal file
3
development/menhir/doinst.sh
Normal file
|
@ -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
|
|
@ -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}
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue