wok annotate mISDNuser/receipt @ rev 3673
Add ocsinventory (meta packages)
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Sat Jul 11 12:17:00 2009 +0200 (2009-07-11) |
parents | 95855ab880ac |
children |
rev | line source |
---|---|
pascal@1181 | 1 # SliTaz package receipt. |
pascal@1181 | 2 |
pascal@1181 | 3 PACKAGE="mISDNuser" |
pascal@3036 | 4 VERSION="20080827" |
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@3036 | 8 TARBALL="${PACKAGE}_${VERSION}.tar.gz" |
pascal@1181 | 9 WEB_SITE="http://www.misdn.org/" |
pascal@3037 | 10 WGET_URL="http://www.linux-call-router.de/download/lcr-1.0/$TARBALL" |
pascal@3036 | 11 DEPENDS="linux-isdn ncurses" |
pascal@1181 | 12 |
pascal@1181 | 13 # Rules to configure and make the package. |
pascal@1181 | 14 compile_rules() |
pascal@1181 | 15 { |
pascal@3036 | 16 mv $PACKAGE $src 2> /dev/null |
pascal@1181 | 17 cd $src |
pascal@3036 | 18 mkdir -p _pkg/usr/lib 2> /dev/null |
pascal@3036 | 19 sed -i 's/^INSTALL_PREFIX.*/INSTALL_PREFIX := $(DESTDIR)/' Makefile |
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 |