wok-4.x annotate libpri/receipt @ rev 6914
Added xz to busybox. Doesn't change size of busybox. This is show we can use tar.xz compress for tazpkg files if we want to. Added pre_install and post_remove functions to xz receipt.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Thu Oct 21 23:49:16 2010 +0000 (2010-10-21) |
parents | 80fe32e8e9d5 |
children |
rev | line source |
---|---|
pankso@4023 | 1 # SliTaz package receipt. |
pankso@4023 | 2 |
pankso@4023 | 3 PACKAGE="libpri" |
slaxemulator@6584 | 4 VERSION="1.4.11.4" |
pankso@4023 | 5 CATEGORY="system-tools" |
pankso@4023 | 6 SHORT_DESC="C implementation of the Primary Rate ISDN specification (with BRI support)." |
pankso@4023 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@4023 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@4023 | 9 WEB_SITE="http://www.asterisk.org/" |
pankso@4023 | 10 WGET_URL="http://downloads.asterisk.org/pub/telephony/libpri/$TARBALL" |
pankso@4023 | 11 |
pankso@4023 | 12 # Rules to configure and make the package. |
pankso@4023 | 13 compile_rules() |
pankso@4023 | 14 { |
pankso@4023 | 15 cd $src |
pankso@4023 | 16 make |
pankso@4023 | 17 } |
pankso@4023 | 18 |
pankso@4023 | 19 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@4023 | 20 genpkg_rules() |
pankso@4023 | 21 { |
pankso@4023 | 22 mkdir -p $fs/lib |
pankso@4023 | 23 cp -a $src/*.so* $fs/lib |
pankso@4023 | 24 } |