wok-next diff atm-tools/receipt @ rev 20279

samba: typo
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Nov 08 12:57:30 2017 +0100 (2017-11-08)
parents 8f50006d2661
children 757d032c55c7
line diff
     1.1 --- a/atm-tools/receipt	Fri Mar 10 14:31:18 2017 +0200
     1.2 +++ b/atm-tools/receipt	Wed Nov 08 12:57:30 2017 +0100
     1.3 @@ -1,26 +1,25 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="atm-tools"
     1.8  VERSION="2.5.2"
     1.9  CATEGORY="system-tools"
    1.10 -SHORT_DESC="User space tools for atm."
    1.11 +SHORT_DESC="User space tools for ATM"
    1.12  MAINTAINER="pascal.bellard@slitaz.org"
    1.13  LICENSE="GPL2"
    1.14  WEB_SITE="http://linux-atm.sourceforge.net/"
    1.15 -SOURCE="linux-atm"
    1.16 -TARBALL="$SOURCE-$VERSION.tar.gz"
    1.17 -WGET_URL="$SF_MIRROR/$SOURCE/$TARBALL"
    1.18 -CONFIG_FILES="/etc/atmsigd.conf"
    1.19 +
    1.20 +TARBALL="linux-atm-$VERSION.tar.gz"
    1.21 +WGET_URL="$SF_MIRROR/linux-atm/$TARBALL"
    1.22  
    1.23  BUILD_DEPENDS="perl"
    1.24 +SPLIT="atm-tools-dev"
    1.25  
    1.26  # Rules to configure and make the package.
    1.27  compile_rules()
    1.28  {
    1.29 -	busybox patch -p0 < $stuff/MAX_PATH.u
    1.30 -
    1.31 -	./configure --prefix=/usr --infodir=/usr/share/info \
    1.32 -	--sysconfdir=/etc --mandir=/usr/share/man $CONFIGURE_ARGS &&
    1.33 +	./configure \
    1.34 +		--sysconfdir=/etc \
    1.35 +		$CONFIGURE_ARGS &&
    1.36  	make -j1 &&
    1.37  	make -j1 DESTDIR=$DESTDIR install
    1.38  }
    1.39 @@ -28,9 +27,14 @@
    1.40  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.41  genpkg_rules()
    1.42  {
    1.43 -	mkdir -p $fs/usr/lib
    1.44 -	cp -a $install/etc $fs
    1.45 -	cp -a $install/usr/bin $fs/usr
    1.46 -	cp -a $install/usr/sbin $fs/usr
    1.47 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.48 +	case $PACKAGE in
    1.49 +		atm-tools)
    1.50 +			copy @std
    1.51 +			DEPENDS="flex"
    1.52 +			CONFIG_FILES="/etc/atmsigd.conf /etc/hosts.atm"
    1.53 +			;;
    1.54 +		atm-tools-dev)
    1.55 +			copy @dev
    1.56 +			;;
    1.57 +	esac
    1.58  }