wok annotate nspr/receipt @ rev 23802
created recipe for pango-typelib
author | Hans-G?nter Theisgen |
---|---|
date | Sun May 24 07:28:37 2020 +0100 (2020-05-24) |
parents | 736937940e3c |
children | 3e9a9990c985 |
rev | line source |
---|---|
slaxemulator@6882 | 1 # SliTaz package receipt. |
slaxemulator@6882 | 2 |
slaxemulator@6882 | 3 PACKAGE="nspr" |
Hans-G?nter@23251 | 4 VERSION="4.25" |
slaxemulator@6882 | 5 CATEGORY="utilities" |
Hans-G?nter@21586 | 6 SHORT_DESC="Netscape Portable Runtime." |
slaxemulator@6882 | 7 MAINTAINER="rocky@slitaz.org" |
pascal@15584 | 8 LICENSE="MPL2" |
Hans-G?nter@21586 | 9 WEB_SITE="https://developer.mozilla.org/docs/Mozilla/Projects/NSPR" |
Hans-G?nter@21586 | 10 |
slaxemulator@6882 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@21586 | 12 WGET_URL="https://ftp.mozilla.org/pub/mozilla.org/nspr/releases/v${VERSION}/src/${TARBALL}" |
slaxemulator@6882 | 13 |
pascal@15584 | 14 DEPENDS="glibc-base" |
pascal@15584 | 15 BUILD_DEPENDS="perl" |
pascal@15584 | 16 |
slaxemulator@6882 | 17 # Rules to configure and make the package. |
slaxemulator@6882 | 18 compile_rules() |
slaxemulator@6882 | 19 { |
devl547@17788 | 20 cd $src/nspr |
Hans-G?nter@21586 | 21 ./configure \ |
Hans-G?nter@21586 | 22 --prefix=/usr \ |
Hans-G?nter@21586 | 23 --libdir=/usr/lib \ |
Hans-G?nter@21586 | 24 --includedir=/usr/include/nspr \ |
Hans-G?nter@21586 | 25 --enable-optimize \ |
Hans-G?nter@21586 | 26 --disable-debug \ |
Hans-G?nter@21586 | 27 --with-mozilla \ |
Hans-G?nter@21586 | 28 --with-pthreads \ |
domcox@14156 | 29 $([ $(uname -m) = x86_64 ] && echo --enable-64bit) \ |
pankso@10399 | 30 $CONFIGURE_ARGS && |
Hans-G?nter@21586 | 31 make && |
Hans-G?nter@21586 | 32 make DESTDIR=$DESTDIR install |
slaxemulator@6882 | 33 } |
slaxemulator@6882 | 34 |
slaxemulator@6882 | 35 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@6882 | 36 genpkg_rules() |
slaxemulator@6882 | 37 { |
slaxemulator@6882 | 38 mkdir -p $fs/usr/lib |
domcox@14218 | 39 cp -a $install/usr/lib/*so* $fs/usr/lib |
slaxemulator@6882 | 40 } |