wok-next rev 4926
Add sctp-tools
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Feb 16 11:46:50 2010 +0100 (2010-02-16) |
parents | f6df330ed424 |
children | 92bd11f51490 |
files | sctp-tools/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/sctp-tools/receipt Tue Feb 16 11:46:50 2010 +0100 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 +