wok-current view atm-tools/receipt @ rev 17665
attr: /lib moved to /usr/lib
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Feb 15 15:16:45 2015 +0100 (2015-02-15) |
parents | d5acb4e6cacf |
children | 7f39549720b8 |
line source
1 # SliTaz package receipt.
3 PACKAGE="atm-tools"
4 VERSION="2.5.2"
5 CATEGORY="system-tools"
6 SHORT_DESC="User space tools for atm."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 SOURCE="linux-atm"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="http://$SOURCE.sourceforge.net/"
12 WGET_URL="$SF_MIRROR/$SOURCE/$TARBALL"
13 CONFIG_FILES="/etc/atmsigd.conf"
15 BUILD_DEPENDS="flex"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 busybox patch -p0 < $stuff/MAX_PATH.u
22 ./configure --prefix=/usr --infodir=/usr/share/info \
23 --sysconfdir=/etc --mandir=/usr/share/man $CONFIGURE_ARGS &&
24 make -j1 &&
25 make -j1 DESTDIR=$DESTDIR install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/lib
32 cp -a $install/etc $fs
33 cp -a $install/usr/bin $fs/usr
34 cp -a $install/usr/sbin $fs/usr
35 cp -a $install/usr/lib/*.so* $fs/usr/lib
36 }