# HG changeset patch # User Hans-G?nter Theisgen # Date 1551518214 -3600 # Node ID f445044dc215c9da7a3ea09cbd5ce61a86256423 # Parent 21f24cc30137a49d3a828e9d9119e98d94a79787 updated flex (2.5.39 -> 2.6.4) diff -r 21f24cc30137 -r f445044dc215 flex/receipt --- a/flex/receipt Sat Mar 02 09:50:24 2019 +0100 +++ b/flex/receipt Sat Mar 02 10:16:54 2019 +0100 @@ -1,18 +1,19 @@ # SliTaz package receipt. PACKAGE="flex" -VERSION="2.5.39" +VERSION="2.6.4" CATEGORY="development" SHORT_DESC="Flex is a fast lexical analyser generator." MAINTAINER="pankso@slitaz.org" LICENSE="BSD" +WEB_SITE="https://github.com/westes/flex" + TARBALL="$PACKAGE-$VERSION.tar.gz" -WEB_SITE="http://flex.sourceforge.net/" -WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" -HOST_ARCH="i486 arm" +WGET_URL="https://github.com/westes/$PACKAGE/releases/download/v$VERSION/$TARBALL" DEPENDS="bison" BUILD_DEPENDS="bison" +HOST_ARCH="i486 arm" # Rules to configure and make the package. compile_rules() @@ -22,8 +23,10 @@ export ac_cv_func_malloc_0_nonnull=yes export ac_cv_func_realloc_0_nonnull=yes esac + ./configure $CONFIGURE_ARGS && - make && make install + make -j 1 && + make install } # Rules to gen a SliTaz package suitable for Tazpkg. @@ -34,4 +37,12 @@ ln -s flex $fs/usr/bin/lex cp -a $install/usr/lib $fs/usr cp -a $install/usr/include $fs/usr + + # locales + mkdir -p $fs/usr/share/locale + LOCALES="da de es fr pt_BR ro ro zh_CN zh_TW" + for locale in $LOCALES + do + cp -a $install/usr/share/locale/$locale $fs/usr/share/locale + done }