wok-current annotate mISDNuser/receipt @ rev 2753
xcb-util: update BUILD_DEPENDS
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Apr 26 13:50:09 2009 +0200 (2009-04-26) |
parents | 04a7e4dead15 |
children | 95855ab880ac |
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@2464 | 11 DEPENDS="mISDN ncurses" |
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 |