# SliTaz package receipt. PACKAGE="re2c" VERSION="0.13.5" CATEGORY="system-tools" SHORT_DESC="Re2c is a tool for writing very fast and very flexible scanners." MAINTAINER="pankso@slitaz.org" TARBALL="$PACKAGE-$VERSION.tar.gz" WEB_SITE="http://re2c.org/" WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" TAGS="scanner" # Rules to configure and make the package. compile_rules() { cd $src ./configure \ --prefix=/usr \ $CONFIGURE_ARGS && make && make DESTDIR=$PWD/_pkg install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr cp -a $_pkg/usr/bin $fs/usr }