wok-current view mISDNuser/receipt @ rev 3036

Up: mISDNuser (20080827)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue May 12 15:58:54 2009 +0200 (2009-05-12)
parents cde7fa93f1d6
children bc0c0dd7a7f0
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="${WEB_SITE}downloads/releases/$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 }