wok-next annotate atm-tools/receipt @ rev 11096
Up: dhcp6 to 4.2.2.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Mon Oct 17 02:49:31 2011 +0000 (2011-10-17) |
parents | 59009b1c6878 |
children | d5acb4e6cacf |
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@8940 | 10 BUILD_DEPENDS="flex" |
pascal@2200 | 11 WEB_SITE="http://$SOURCE.sourceforge.net/" |
pascal@2200 | 12 WGET_URL="$SF_MIRROR/$SOURCE/$TARBALL" |
pascal@2200 | 13 CONFIG_FILES="/etc/atmsigd.conf" |
pascal@2200 | 14 |
pascal@2200 | 15 # Rules to configure and make the package. |
pascal@2200 | 16 compile_rules() |
pascal@2200 | 17 { |
pascal@2200 | 18 cd $src |
slaxemulator@8751 | 19 busybox patch -p0 < $stuff/MAX_PATH.u |
pascal@2200 | 20 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@2200 | 21 --sysconfdir=/etc --mandir=/usr/share/man $CONFIGURE_ARGS && |
pascal@9044 | 22 make -j1 && |
pascal@9044 | 23 make -j1 DESTDIR=$DESTDIR install |
pascal@2200 | 24 } |
pascal@2200 | 25 |
pascal@2200 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@2200 | 27 genpkg_rules() |
pascal@2200 | 28 { |
pascal@2200 | 29 mkdir -p $fs/usr/lib |
pascal@2278 | 30 cp -a $_pkg/etc $fs |
pascal@2200 | 31 cp -a $_pkg/usr/bin $fs/usr |
pascal@2200 | 32 cp -a $_pkg/usr/sbin $fs/usr |
pascal@2200 | 33 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pascal@2200 | 34 } |
pascal@2200 | 35 |