wok diff flex/receipt @ rev 20944
updated fritzing (0.8.7b -> 0.9.3b)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Mar 03 12:53:01 2019 +0100 (2019-03-03) |
parents | 0c85455b2f3b |
children | 5ea0ce1cecc0 |
line diff
1.1 --- a/flex/receipt Sat Apr 30 20:15:47 2016 +0200 1.2 +++ b/flex/receipt Sun Mar 03 12:53:01 2019 +0100 1.3 @@ -1,18 +1,19 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="flex" 1.7 -VERSION="2.5.39" 1.8 +VERSION="2.6.4" 1.9 CATEGORY="development" 1.10 SHORT_DESC="Flex is a fast lexical analyser generator." 1.11 MAINTAINER="pankso@slitaz.org" 1.12 LICENSE="BSD" 1.13 +WEB_SITE="https://github.com/westes/flex" 1.14 + 1.15 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.16 -WEB_SITE="http://flex.sourceforge.net/" 1.17 -WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 1.18 -HOST_ARCH="i486 arm" 1.19 +WGET_URL="https://github.com/westes/$PACKAGE/releases/download/v$VERSION/$TARBALL" 1.20 1.21 DEPENDS="bison" 1.22 BUILD_DEPENDS="bison" 1.23 +HOST_ARCH="i486 arm" 1.24 1.25 # Rules to configure and make the package. 1.26 compile_rules() 1.27 @@ -22,8 +23,10 @@ 1.28 export ac_cv_func_malloc_0_nonnull=yes 1.29 export ac_cv_func_realloc_0_nonnull=yes 1.30 esac 1.31 + 1.32 ./configure $CONFIGURE_ARGS && 1.33 - make && make install 1.34 + make -j 1 && 1.35 + make install 1.36 } 1.37 1.38 # Rules to gen a SliTaz package suitable for Tazpkg. 1.39 @@ -34,4 +37,12 @@ 1.40 ln -s flex $fs/usr/bin/lex 1.41 cp -a $install/usr/lib $fs/usr 1.42 cp -a $install/usr/include $fs/usr 1.43 + 1.44 + # locales 1.45 + mkdir -p $fs/usr/share/locale 1.46 + LOCALES="da de es fr pt_BR ro ro zh_CN zh_TW" 1.47 + for locale in $LOCALES 1.48 + do 1.49 + cp -a $install/usr/share/locale/$locale $fs/usr/share/locale 1.50 + done 1.51 }