# SliTaz package receipt. PACKAGE="flex" VERSION="2.5.35" CATEGORY="development" SHORT_DESC="Flex is a fast lexical analyser generator." MAINTAINER="pankso@slitaz.org" TARBALL="$PACKAGE-$VERSION.tar.gz" WEB_SITE="http://flex.sourceforge.net/" WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" DEPENDS="bison" BUILD_DEPENDS="bison" # Rules to configure and make the package. compile_rules() { cd $src ./configure $CONFIGURE_ARGS && make && make install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr cp -a $_pkg/usr/bin $fs/usr ln -s flex $fs/usr/bin/lex cp -a $_pkg/usr/lib $fs/usr cp -a $_pkg/usr/include $fs/usr }