wok-6.x view mISDNuser/receipt @ rev 2926

linux modules depends on depmod
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu May 07 09:37:08 2009 +0200 (2009-05-07)
parents 04a7e4dead15
children 95855ab880ac
line source
1 # SliTaz package receipt.
3 PACKAGE="mISDNuser"
4 VERSION="1_1_7_2"
5 CATEGORY="system-tools"
6 SHORT_DESC="beronet isdn drivers userland tools."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://www.misdn.org/"
10 WGET_URL="${WEB_SITE}downloads/releases/$TARBALL"
11 DEPENDS="mISDN ncurses"
12 BUILD_DEPENDS="mISDN"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 [ -f done.Makefile.u ] || patch -p1 < ../stuff/Makefile.u
19 touch done.Makefile.u
20 make &&
21 make DESTDIR=$PWD/_pkg install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/lib
28 cp -a $_pkg/usr/bin $fs/usr
29 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
30 # Package all mISDNuser pkgs
31 for i in $(cd $WOK; ls -d mISDNuser-*)
32 do
33 tazwok genpkg $i
34 done
35 }