wok annotate mISDNuser/receipt @ rev 1590
sox: fix depends
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Thu Oct 16 20:19:46 2008 +0000 (2008-10-16) |
parents | 65d3dfc87776 |
children | cde7fa93f1d6 |
rev | line source |
---|---|
pascal@1181 | 1 # SliTaz package receipt. |
pascal@1181 | 2 |
pascal@1181 | 3 PACKAGE="mISDNuser" |
pascal@1181 | 4 VERSION="1_1_7_2" |
pascal@1181 | 5 CATEGORY="system-tools" |
pascal@1181 | 6 SHORT_DESC="beronet isdn drivers userland tools." |
pascal@1181 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@1181 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@1181 | 9 WEB_SITE="http://www.misdn.org/" |
pascal@1181 | 10 WGET_URL="${WEB_SITE}downloads/releases/$TARBALL" |
pascal@1181 | 11 DEPENDS="mISDN" |
pascal@1181 | 12 BUILD_DEPENDS="mISDN" |
pascal@1181 | 13 |
pascal@1181 | 14 # Rules to configure and make the package. |
pascal@1181 | 15 compile_rules() |
pascal@1181 | 16 { |
pascal@1181 | 17 cd $src |
pascal@1553 | 18 [ -f done.Makefile.u ] || patch -p1 < ../stuff/Makefile.u |
pascal@1553 | 19 touch done.Makefile.u |
pascal@1553 | 20 make && |
pascal@1181 | 21 make DESTDIR=$PWD/_pkg install |
pascal@1181 | 22 } |
pascal@1181 | 23 |
pascal@1181 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1181 | 25 genpkg_rules() |
pascal@1181 | 26 { |
pascal@1181 | 27 mkdir -p $fs/usr/lib |
pascal@1181 | 28 cp -a $_pkg/usr/bin $fs/usr |
pascal@1181 | 29 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pascal@1181 | 30 # Package all mISDNuser pkgs |
pascal@1181 | 31 for i in $(cd $WOK; ls -d mISDNuser-*) |
pascal@1181 | 32 do |
pascal@1181 | 33 tazwok genpkg $i |
pascal@1181 | 34 done |
pascal@1181 | 35 } |
pascal@1181 | 36 |