wok-6.x diff pcre2/receipt @ rev 19517
syslinux: doc cooker links
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Nov 22 22:39:36 2016 +0100 (2016-11-22) |
parents | |
children | 18de4fe65c9c |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/pcre2/receipt Tue Nov 22 22:39:36 2016 +0100 1.3 @@ -0,0 +1,37 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="pcre2" 1.7 +VERSION="10.21" 1.8 +CATEGORY="system-tools" 1.9 +SHORT_DESC="Perl 5 Compatible Regular Expression 2, library" 1.10 +MAINTAINER="al.bobylev@gmail.com" 1.11 +LICENSE="BSD" 1.12 +TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.13 +WEB_SITE="http://www.pcre.org/" 1.14 +WGET_URL="ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/$TARBALL" 1.15 +HOST_ARCH="i486 arm" 1.16 + 1.17 +# Rules to configure and make the package. 1.18 +compile_rules() 1.19 +{ 1.20 + ./configure \ 1.21 + --prefix=/usr \ 1.22 + --enable-pcre2-16 \ 1.23 + --enable-pcre2-32 \ 1.24 + --enable-jit \ 1.25 + $CONFIGURE_ARGS && 1.26 + make && make install 1.27 + 1.28 + find $install/usr/share/man -type f -exec gzip -9 \{\} \; 1.29 + for i in $(find $install/usr/share/man -type l); do 1.30 + dest=$(readlink $i) 1.31 + rm $i; ln -s $dest.gz $i.gz 1.32 + done 1.33 +} 1.34 + 1.35 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.36 +genpkg_rules() 1.37 +{ 1.38 + mkdir -p $fs/usr/lib 1.39 + cp -a $install/usr/lib/*.so* $fs/usr/lib 1.40 +}