wok-current view sctp-tools/receipt @ rev 15482

Add some licenses
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Nov 10 17:13:06 2013 +0000 (2013-11-10)
parents 0664f0e5d991
children 69be3deacda4
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 }