wok annotate atm-tools/receipt @ rev 2327
slitaz-tools: tyny update (2.10.1) fro Cooking release
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat Feb 28 02:14:16 2009 +0100 (2009-02-28) |
parents | d0816a914cdc |
children | 3268f9dff1c1 |
rev | line source |
---|---|
pascal@2200 | 1 # SliTaz package receipt. |
pascal@2200 | 2 |
pascal@2200 | 3 PACKAGE="atm-tools" |
pascal@2200 | 4 VERSION="2.5.0" |
pascal@2200 | 5 CATEGORY="system-tools" |
pascal@2200 | 6 SHORT_DESC="User space tools for atm." |
pascal@2200 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@2200 | 8 SOURCE="linux-atm" |
pascal@2200 | 9 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@2200 | 10 WEB_SITE="http://$SOURCE.sourceforge.net/" |
pascal@2200 | 11 WGET_URL="$SF_MIRROR/$SOURCE/$TARBALL" |
pascal@2200 | 12 CONFIG_FILES="/etc/atmsigd.conf" |
pascal@2200 | 13 |
pascal@2200 | 14 # Rules to configure and make the package. |
pascal@2200 | 15 compile_rules() |
pascal@2200 | 16 { |
pascal@2200 | 17 cd $src |
pascal@2200 | 18 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@2200 | 19 --sysconfdir=/etc --mandir=/usr/share/man $CONFIGURE_ARGS && |
pascal@2200 | 20 make && |
pascal@2200 | 21 make DESTDIR=$PWD/_pkg install |
pascal@2200 | 22 } |
pascal@2200 | 23 |
pascal@2200 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@2200 | 25 genpkg_rules() |
pascal@2200 | 26 { |
pascal@2200 | 27 mkdir -p $fs/usr/lib |
pascal@2278 | 28 cp -a $_pkg/etc $fs |
pascal@2200 | 29 cp -a $_pkg/usr/bin $fs/usr |
pascal@2200 | 30 cp -a $_pkg/usr/sbin $fs/usr |
pascal@2200 | 31 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pascal@2200 | 32 } |
pascal@2200 | 33 |