wok-next view sctp-tools/receipt @ rev 16363

flxine: ry a fix, crooss fine locally but not on tank)
author Christophe Lincoln <pankso@slitaz.org>
date Mon Apr 14 00:35:12 2014 +0200 (2014-04-14)
parents 0664f0e5d991
children f496af4fe2bf
line source
1 # SliTaz package receipt.
3 PACKAGE="sctp-tools"
4 VERSION="1.0.11"
5 CATEGORY="network"
6 SHORT_DESC="Stream Control Transmission Protocol tools."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2 LGPL2.1"
9 SOURCE="lksctp-tools"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="http://lksctp.sourceforge.net/"
12 WGET_URL="$SF_MIRROR/project/lksctp/lksctp/$SOURCE-$VERSION/$TARBALL"
14 DEPENDS="libsctp"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 ln -s $src $PACKAGE-$VERSION
20 cd $src
21 ./configure --prefix=/usr --infodir=/usr/share/info \
22 --mandir=/usr/share/man \
23 $CONFIGURE_ARGS &&
24 make &&
25 make DESTDIR=$DESTDIR install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/lib/lksctp-tools
32 cp -a $install/usr/bin $fs/usr
33 cp -a $install/usr/lib/lksctp-tools/libwithsctp.so* \
34 $fs/usr/lib/lksctp-tools
35 }