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

Tiny edits
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Mar 03 17:38:00 2018 +0200 (2018-03-03)
parents f496af4fe2bf
children 9e5dca6702bf
line source
1 # SliTaz package receipt v2.
3 PACKAGE="sctp-tools"
4 VERSION="1.0.17"
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/$TARBALL"
14 SPLIT="sctp-tools libsctp-dev libsctp"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 ./configure --prefix=/usr --infodir=/usr/share/info \
20 --mandir=/usr/share/man \
21 $CONFIGURE_ARGS &&
22 make &&
23 make DESTDIR=$DESTDIR install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 case $PACKAGE in
30 sctp-tools)
31 DEPENDS="libsctp"
32 mkdir -p $fs/usr/lib/lksctp-tools
33 cp -a $install/usr/bin $fs/usr
34 cp -a $install/usr/lib/lksctp-tools/libwithsctp.so* \
35 $fs/usr/lib/lksctp-tools
36 ;;
37 libsctp)
38 CAT="network|Stream Control Transmission Protocol libraries."
39 mkdir -p $fs/usr/lib
40 cp -a $install/usr/lib/libsctp.so* $fs/usr/lib
41 ;;
42 libsctp-dev)
43 CAT="development|Stream Control Transmission Protocol developement libraries."
44 mkdir -p $fs/usr/lib/lksctp-tools
45 cp -a $install/usr/include $fs/usr
46 cp -a $install/usr/lib/libsctp.*a $fs/usr/lib
47 cp -a $install/usr/lib/lksctp-tools/*a $fs/usr/lib/lksctp-tools
48 ;;
49 esac
50 }