wok-6.x annotate bison/receipt @ rev 24721
updated libburn and libburn-dev (1.5.2 -> 1.5.4)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Mar 15 09:33:23 2022 +0100 (2022-03-15) |
parents | b0897e8bc1a4 |
children |
rev | line source |
---|---|
pankso@15 | 1 # SliTaz package receipt. |
pankso@15 | 2 |
pankso@15 | 3 PACKAGE="bison" |
Hans-G?nter@24372 | 4 VERSION="3.8.2" |
pankso@200 | 5 CATEGORY="development" |
Hans-G?nter@22540 | 6 TAGS="parser language" |
pankso@15 | 7 SHORT_DESC="GNU parser generator." |
pankso@15 | 8 MAINTAINER="pankso@slitaz.org" |
pascal@15201 | 9 LICENSE="GPL3" |
Hans-G?nter@22540 | 10 WEB_SITE="https://www.gnu.org/software/bison/" |
Hans-G?nter@22540 | 11 |
Hans-G?nter@22540 | 12 TARBALL="$PACKAGE-$VERSION.tar.xz" |
Hans-G?nter@22540 | 13 WGET_URL="https://ftp.gnu.org/gnu/$PACKAGE/$TARBALL" |
pankso@15 | 14 |
Hans-G?nter@24372 | 15 SUGGESTED="bison-lang" |
pankso@10042 | 16 DEPENDS="m4" |
pankso@10042 | 17 BUILD_DEPENDS="m4" |
pankso@10042 | 18 |
Hans-G?nter@22540 | 19 HOST_ARCH="i486 arm" |
Hans-G?nter@22540 | 20 |
pascal@24373 | 21 # What is the latest version available today? |
pascal@24373 | 22 current_version() |
pascal@24373 | 23 { |
pascal@24373 | 24 wget -O - ${WGET_URL%/*} 2>/dev/null | \ |
pascal@24373 | 25 sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q |
pascal@24373 | 26 } |
pascal@24373 | 27 |
pankso@15 | 28 # Rules to configure and make the package. |
pankso@15 | 29 compile_rules() |
pankso@15 | 30 { |
Hans-G?nter@24372 | 31 ./configure \ |
Hans-G?nter@24372 | 32 $CONFIGURE_ARGS && |
Hans-G?nter@22540 | 33 make && |
Hans-G?nter@22540 | 34 make install |
Hans-G?nter@22540 | 35 |
Hans-G?nter@22540 | 36 # 2.6.5 |
Hans-G?nter@22540 | 37 # echo '#define YYENABLE_NLS 1' >> config.h && |
pankso@15 | 38 } |
pankso@15 | 39 |
pankso@15 | 40 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@15 | 41 genpkg_rules() |
pankso@15 | 42 { |
pankso@12811 | 43 mkdir -p $fs/usr/share |
Hans-G?nter@22540 | 44 |
Hans-G?nter@22540 | 45 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@22540 | 46 cp -a $install/usr/lib $fs/usr |
Hans-G?nter@22540 | 47 cp -a $install/usr/share/aclocal $fs/usr/share |
Hans-G?nter@22540 | 48 cp -a $install/usr/share/bison $fs/usr/share |
pankso@15 | 49 } |