wok-current view bison/receipt @ rev 13571
lxde: Add local root variable to post_install and post_remove scripts so tazpkg --root will work with it.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sun Nov 04 09:14:01 2012 +0000 (2012-11-04) |
parents | d100fc36aa41 |
children | 045efbb0c0d0 |
line source
1 # SliTaz package receipt.
3 PACKAGE="bison"
4 VERSION="2.6.2"
5 CATEGORY="development"
6 SHORT_DESC="GNU parser generator."
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://www.gnu.org/software/bison/"
10 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
11 TAGS="parser language"
12 HOST_ARCH="i486 arm"
14 DEPENDS="m4"
15 BUILD_DEPENDS="m4"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 ./configure $CONFIGURE_ARGS &&
22 echo '#define YYENABLE_NLS 1' >> config.h &&
23 make && make install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/share
30 cp -a $install/usr/bin $fs/usr
31 cp -a $install/usr/lib $fs/usr
32 cp -a $install/usr/share/aclocal $fs/usr/share
33 cp -a $install/usr/share/bison $fs/usr/share
34 }