wok-next annotate bison/receipt @ rev 20153
syslinux: receipt v2
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Nov 01 15:14:00 2017 +0100 (2017-11-01) |
parents | 8da249b2c8d7 |
children | 90a5eb560fd6 |
rev | line source |
---|---|
al@19743 | 1 # SliTaz package receipt v2. |
pankso@15 | 2 |
pankso@15 | 3 PACKAGE="bison" |
al@19571 | 4 VERSION="3.0.4" |
pankso@200 | 5 CATEGORY="development" |
al@19743 | 6 SHORT_DESC="GNU parser generator" |
pankso@15 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15201 | 8 LICENSE="GPL3" |
al@19571 | 9 WEB_SITE="https://www.gnu.org/software/bison/" |
jozee@3567 | 10 TAGS="parser language" |
pankso@12811 | 11 HOST_ARCH="i486 arm" |
pankso@15 | 12 |
al@19571 | 13 TARBALL="$PACKAGE-$VERSION.tar.xz" |
al@19571 | 14 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" |
al@19571 | 15 |
al@19571 | 16 BUILD_DEPENDS="m4 perl libxslt gettext" |
pankso@10042 | 17 |
pankso@15 | 18 # Rules to configure and make the package. |
pankso@15 | 19 compile_rules() |
pankso@15 | 20 { |
al@19571 | 21 ./configure \ |
al@19571 | 22 --docdir=/usr/share/doc/bison-$VERSION \ |
al@19571 | 23 $CONFIGURE_ARGS && |
pankso@10042 | 24 make && make install |
pankso@15 | 25 } |
pankso@15 | 26 |
pankso@15 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@15 | 28 genpkg_rules() |
pankso@15 | 29 { |
al@19743 | 30 copy bin/ lib/ aclocal/ bison/ |
al@19743 | 31 DEPENDS="m4" |
pankso@15 | 32 } |