wok-next view sctp-tools/receipt @ rev 20402
Up seed (3.8.1) use webkitgtk instead of libwebkit; add cogl for clutter; up clutter (1.26.2) using mesa17 instead of mesa; up gnome-games using mesa17 instead of mix 'mesa & mesa17'
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Dec 05 17:49:11 2017 +0200 (2017-12-05) |
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 }