wok-next view atm-tools/receipt @ rev 4200

atm-tools: fix build
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Sep 23 21:35:45 2009 +0200 (2009-09-23)
parents c92b90a14744
children f4fd0777003f
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 busybox patch -p0 < ../stuff/MAX_PATH.u
19 ./configure --prefix=/usr --infodir=/usr/share/info \
20 --sysconfdir=/etc --mandir=/usr/share/man $CONFIGURE_ARGS &&
21 make &&
22 make DESTDIR=$PWD/_pkg install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/lib
29 cp -a $_pkg/etc $fs
30 cp -a $_pkg/usr/bin $fs/usr
31 cp -a $_pkg/usr/sbin $fs/usr
32 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
33 }