wok-6.x annotate mISDNuser/receipt @ rev 1235
Add egenix-mx-base
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Aug 11 11:01:15 2008 +0000 (2008-08-11) |
parents | |
children | 65d3dfc87776 |
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@1181 | 18 patch -p1 < ../stuff/Makefile.u |
pascal@1181 | 19 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@1181 | 20 --mandir=/usr/share/man $CONFIGURE_ARGS |
pascal@1181 | 21 make |
pascal@1181 | 22 make DESTDIR=$PWD/_pkg install |
pascal@1181 | 23 } |
pascal@1181 | 24 |
pascal@1181 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1181 | 26 genpkg_rules() |
pascal@1181 | 27 { |
pascal@1181 | 28 mkdir -p $fs/usr/lib |
pascal@1181 | 29 cp -a $_pkg/usr/bin $fs/usr |
pascal@1181 | 30 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pascal@1181 | 31 # Package all mISDNuser pkgs |
pascal@1181 | 32 for i in $(cd $WOK; ls -d mISDNuser-*) |
pascal@1181 | 33 do |
pascal@1181 | 34 tazwok genpkg $i |
pascal@1181 | 35 done |
pascal@1181 | 36 } |
pascal@1181 | 37 |