wok-current view re2c/receipt @ rev 22814

openvas-libraries: patch for Bison 3
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Feb 01 18:47:18 2020 +0100 (2020-02-01)
parents acc0cf34b379
children df145f07a39e
line source
1 # SliTaz package receipt.
3 PACKAGE="re2c"
4 VERSION="1.2.1"
5 CATEGORY="system-tools"
6 TAGS="scanner"
7 SHORT_DESC="A tool for generating C-based recognisers from regular expressions."
8 MAINTAINER="pankso@slitaz.org"
9 LICENSE="PublicDomain"
10 WEB_SITE="https://re2c.org/"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="https://github.com/skvadrik/re2c/archive/$VERSION.tar.gz"
15 BUILD_DEPENDS="automake libtool"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 [ -d m4 ] || mkdir m4
21 ./autogen.sh
22 ./configure \
23 --prefix=/usr \
24 $CONFIGURE_ARGS &&
25 make &&
26 make DESTDIR=$DESTDIR install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr
33 cp -a $install/usr/bin $fs/usr
34 }