
Receipt for package "pcre"
# SliTaz package receipt. PACKAGE="pcre" VERSION="8.45" CATEGORY="system-tools" SHORT_DESC="Perl 5 Compatible Regular Expression, library." MAINTAINER="pankso@slitaz.org" LICENSE="BSD" WEB_SITE="https://www.pcre.org/" TARBALL="$PACKAGE-$VERSION.tar.bz2" WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" HOST_ARCH="i486 arm" # What is the latest version available today? current_version() { wget -O - https://sourceforge.net/projects/pcre/files/pcre/ 2>/dev/null | \ sed '/scope="row/!d;s|.*a href="|"https://sourceforge.net|;s| .*||;q' | xargs wget -O - 2>/dev/null | \ sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q" } # Rules to configure and make the package. compile_rules() { ./configure \ --prefix=/usr \ --enable-pcre16 \ --enable-pcre32 \ --enable-jit \ --enable-unicode-properties \ $CONFIGURE_ARGS && make && make install find $install/usr/share/man -type f -exec gzip -9 \{\} \; for i in $(find $install/usr/share/man -type l) do dest=$(readlink $i) rm $i ln -s $dest.gz $i.gz done } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { cook_copy_files *.so* }
6011 packages and 861692 files in cooking database (Sun Apr 20 00:48:06 2025)