wok view sctp-tools/receipt @ rev 19029

syslinux/taziso: fix inst*2zip
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Apr 05 09:37:40 2016 +0200 (2016-04-05)
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 }