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