wok-next annotate sctp-tools/receipt @ rev 16212
weston: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Mar 31 12:57:26 2014 +0000 (2014-03-31) |
parents | 0664f0e5d991 |
children | f496af4fe2bf |
rev | line source |
---|---|
pascal@4926 | 1 # SliTaz package receipt. |
pascal@4926 | 2 |
pascal@4926 | 3 PACKAGE="sctp-tools" |
pascal@4926 | 4 VERSION="1.0.11" |
pascal@4926 | 5 CATEGORY="network" |
pascal@4926 | 6 SHORT_DESC="Stream Control Transmission Protocol tools." |
pascal@4926 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15482 | 8 LICENSE="GPL2 LGPL2.1" |
pascal@4926 | 9 SOURCE="lksctp-tools" |
pascal@4926 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@4926 | 11 WEB_SITE="http://lksctp.sourceforge.net/" |
pascal@4926 | 12 WGET_URL="$SF_MIRROR/project/lksctp/lksctp/$SOURCE-$VERSION/$TARBALL" |
pascal@15482 | 13 |
pascal@4926 | 14 DEPENDS="libsctp" |
pascal@4926 | 15 |
pascal@4926 | 16 # Rules to configure and make the package. |
pascal@4926 | 17 compile_rules() |
pascal@4926 | 18 { |
pascal@4926 | 19 ln -s $src $PACKAGE-$VERSION |
pascal@4926 | 20 cd $src |
pascal@4926 | 21 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@4926 | 22 --mandir=/usr/share/man \ |
pascal@4926 | 23 $CONFIGURE_ARGS && |
pascal@4926 | 24 make && |
pascal@15482 | 25 make DESTDIR=$DESTDIR install |
pascal@4926 | 26 } |
pascal@4926 | 27 |
pascal@4926 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@4926 | 29 genpkg_rules() |
pascal@4926 | 30 { |
pascal@4926 | 31 mkdir -p $fs/usr/lib/lksctp-tools |
pascal@15482 | 32 cp -a $install/usr/bin $fs/usr |
pascal@15482 | 33 cp -a $install/usr/lib/lksctp-tools/libwithsctp.so* \ |
pascal@4926 | 34 $fs/usr/lib/lksctp-tools |
pascal@4926 | 35 } |
pascal@4926 | 36 |