wok-6.x annotate mISDNuser/receipt @ rev 1553
Apply patchs once for bash cromfs cyrus-imapd jwm lsdvd mISDNuser module-init-tools qemu rox-filer xpat2
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Oct 12 09:55:00 2008 +0000 (2008-10-12) |
parents | 86727cae3a5d |
children | 04a7e4dead15 |
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@1181 | 20 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@1553 | 21 --mandir=/usr/share/man $CONFIGURE_ARGS && |
pascal@1553 | 22 make && |
pascal@1181 | 23 make DESTDIR=$PWD/_pkg install |
pascal@1181 | 24 } |
pascal@1181 | 25 |
pascal@1181 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1181 | 27 genpkg_rules() |
pascal@1181 | 28 { |
pascal@1181 | 29 mkdir -p $fs/usr/lib |
pascal@1181 | 30 cp -a $_pkg/usr/bin $fs/usr |
pascal@1181 | 31 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pascal@1181 | 32 # Package all mISDNuser pkgs |
pascal@1181 | 33 for i in $(cd $WOK; ls -d mISDNuser-*) |
pascal@1181 | 34 do |
pascal@1181 | 35 tazwok genpkg $i |
pascal@1181 | 36 done |
pascal@1181 | 37 } |
pascal@1181 | 38 |