wok-current diff sctp-tools/receipt @ rev 13311

freerdp-dev: update genpkg-rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Aug 29 12:46:44 2012 +0200 (2012-08-29)
parents
children 8d6f480bf664
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/sctp-tools/receipt	Wed Aug 29 12:46:44 2012 +0200
     1.3 @@ -0,0 +1,34 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="sctp-tools"
     1.7 +VERSION="1.0.11"
     1.8 +CATEGORY="network"
     1.9 +SHORT_DESC="Stream Control Transmission Protocol tools."
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +SOURCE="lksctp-tools"
    1.12 +TARBALL="$SOURCE-$VERSION.tar.gz"
    1.13 +WEB_SITE="http://lksctp.sourceforge.net/"
    1.14 +WGET_URL="$SF_MIRROR/project/lksctp/lksctp/$SOURCE-$VERSION/$TARBALL"
    1.15 +DEPENDS="libsctp"
    1.16 +
    1.17 +# Rules to configure and make the package.
    1.18 +compile_rules()
    1.19 +{
    1.20 +	ln -s $src $PACKAGE-$VERSION
    1.21 +	cd $src
    1.22 +	./configure --prefix=/usr --infodir=/usr/share/info \
    1.23 +	--mandir=/usr/share/man \
    1.24 +	$CONFIGURE_ARGS &&
    1.25 +	make &&
    1.26 +	make DESTDIR=$PWD/_pkg install
    1.27 +}
    1.28 +
    1.29 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.30 +genpkg_rules()
    1.31 +{
    1.32 +	mkdir -p $fs/usr/lib/lksctp-tools
    1.33 +	cp -a $_pkg/usr/bin $fs/usr
    1.34 +	cp -a $_pkg/usr/lib/lksctp-tools/libwithsctp.so* \
    1.35 +		$fs/usr/lib/lksctp-tools
    1.36 +}
    1.37 +