wok-current view mISDNuser/receipt @ rev 3085
slitaz-doc: Fix few typo in receipt...
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat May 16 01:05:11 2009 +0200 (2009-05-16) |
parents | 95855ab880ac |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="mISDNuser"
4 VERSION="20080827"
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="http://www.linux-call-router.de/download/lcr-1.0/$TARBALL"
11 DEPENDS="linux-isdn ncurses"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 mv $PACKAGE $src 2> /dev/null
17 cd $src
18 mkdir -p _pkg/usr/lib 2> /dev/null
19 sed -i 's/^INSTALL_PREFIX.*/INSTALL_PREFIX := $(DESTDIR)/' Makefile
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 }