wok view atm-tools/receipt @ rev 4003
linux: ensure linux-source will have patches
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Aug 31 17:17:44 2009 +0200 (2009-08-31) |
parents | d0816a914cdc |
children | 3268f9dff1c1 |
line source
1 # SliTaz package receipt.
3 PACKAGE="atm-tools"
4 VERSION="2.5.0"
5 CATEGORY="system-tools"
6 SHORT_DESC="User space tools for atm."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 SOURCE="linux-atm"
9 TARBALL="$SOURCE-$VERSION.tar.gz"
10 WEB_SITE="http://$SOURCE.sourceforge.net/"
11 WGET_URL="$SF_MIRROR/$SOURCE/$TARBALL"
12 CONFIG_FILES="/etc/atmsigd.conf"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure --prefix=/usr --infodir=/usr/share/info \
19 --sysconfdir=/etc --mandir=/usr/share/man $CONFIGURE_ARGS &&
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/etc $fs
29 cp -a $_pkg/usr/bin $fs/usr
30 cp -a $_pkg/usr/sbin $fs/usr
31 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
32 }