wok-current annotate sctp-tools/receipt @ rev 14380

back to undigest: fbpdf
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Apr 22 22:13:59 2013 +0200 (2013-04-22)
parents
children 8d6f480bf664
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@4926 8 SOURCE="lksctp-tools"
pascal@4926 9 TARBALL="$SOURCE-$VERSION.tar.gz"
pascal@4926 10 WEB_SITE="http://lksctp.sourceforge.net/"
pascal@4926 11 WGET_URL="$SF_MIRROR/project/lksctp/lksctp/$SOURCE-$VERSION/$TARBALL"
pascal@4926 12 DEPENDS="libsctp"
pascal@4926 13
pascal@4926 14 # Rules to configure and make the package.
pascal@4926 15 compile_rules()
pascal@4926 16 {
pascal@4926 17 ln -s $src $PACKAGE-$VERSION
pascal@4926 18 cd $src
pascal@4926 19 ./configure --prefix=/usr --infodir=/usr/share/info \
pascal@4926 20 --mandir=/usr/share/man \
pascal@4926 21 $CONFIGURE_ARGS &&
pascal@4926 22 make &&
pascal@4926 23 make DESTDIR=$PWD/_pkg install
pascal@4926 24 }
pascal@4926 25
pascal@4926 26 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@4926 27 genpkg_rules()
pascal@4926 28 {
pascal@4926 29 mkdir -p $fs/usr/lib/lksctp-tools
pascal@4926 30 cp -a $_pkg/usr/bin $fs/usr
pascal@4926 31 cp -a $_pkg/usr/lib/lksctp-tools/libwithsctp.so* \
pascal@4926 32 $fs/usr/lib/lksctp-tools
pascal@4926 33 }
pascal@4926 34