SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "bison"

# SliTaz package receipt.

PACKAGE="bison"
VERSION="2.5"
CATEGORY="development"
SHORT_DESC="GNU parser generator."
MAINTAINER="pankso@slitaz.org"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="http://www.gnu.org/software/bison/"
WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
TAGS="parser language"

DEPENDS="m4"
BUILD_DEPENDS="m4"

# Rules to configure and make the package.
compile_rules()
{
    cd $src
    ./configure $CONFIGURE_ARGS &&
    echo '#define YYENABLE_NLS 1' >> config.h &&
    make && make install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/share/locale
    cp -a $_pkg/usr/bin $fs/usr
    cp -a $_pkg/usr/lib $fs/usr
    cp -a $_pkg/usr/share/aclocal $fs/usr/share
    cp -a $_pkg/usr/share/bison $fs/usr/share
    cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
}
3382 packages and 430813 files in stable database (Mon Mar 4 17:53:49 2019)