wok-next annotate sctp-tools/receipt @ rev 20177

Up sctp-tools (1.0.17), sg3_utils (1.42), squid (3.5.27), strigi (0.7.8), unixODBC (2.3.4), vcdimager (0.7.24)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Nov 02 09:14:23 2017 +0100 (2017-11-02)
parents 8d6f480bf664
children 85b9676f2614
rev   line source
pascal@20177 1 # SliTaz package receipt v2.
pascal@4926 2
pascal@4926 3 PACKAGE="sctp-tools"
pascal@20177 4 VERSION="1.0.17"
pascal@4926 5 CATEGORY="network"
pascal@4926 6 SHORT_DESC="Stream Control Transmission Protocol tools."
pascal@4926 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15482 8 LICENSE="GPL2 LGPL2.1"
pascal@4926 9 SOURCE="lksctp-tools"
pascal@4926 10 TARBALL="$SOURCE-$VERSION.tar.gz"
pascal@4926 11 WEB_SITE="http://lksctp.sourceforge.net/"
pascal@4926 12 WGET_URL="$SF_MIRROR/project/lksctp/lksctp/$SOURCE-$VERSION/$TARBALL"
pascal@15482 13
pascal@20177 14 SPLIT="sctp-tools libsctp-dev libsctp"
pascal@4926 15
pascal@4926 16 # Rules to configure and make the package.
pascal@4926 17 compile_rules()
pascal@4926 18 {
pascal@4926 19 ln -s $src $PACKAGE-$VERSION
pascal@4926 20 cd $src
pascal@4926 21 ./configure --prefix=/usr --infodir=/usr/share/info \
pascal@4926 22 --mandir=/usr/share/man \
pascal@4926 23 $CONFIGURE_ARGS &&
pascal@4926 24 make &&
pascal@15482 25 make DESTDIR=$DESTDIR install
pascal@4926 26 }
pascal@4926 27
pascal@4926 28 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@4926 29 genpkg_rules()
pascal@4926 30 {
pascal@20177 31 case $PACKAGE in
pascal@20177 32 sctp-tools)
pascal@20177 33 DEPENDS="libsctp"
pascal@20177 34 mkdir -p $fs/usr/lib/lksctp-tools
pascal@20177 35 cp -a $install/usr/bin $fs/usr
pascal@20177 36 cp -a $install/usr/lib/lksctp-tools/libwithsctp.so* \
pascal@20177 37 $fs/usr/lib/lksctp-tools
pascal@20177 38 ;;
pascal@20177 39 libsctp)
pascal@20177 40 CAT="network|Stream Control Transmission Protocol libraries."
pascal@20177 41 mkdir -p $fs/usr/lib
pascal@20177 42 cp -a $install/usr/lib/libsctp.so* $fs/usr/lib
pascal@20177 43 ;;
pascal@20177 44 libsctp-dev)
pascal@20177 45 CAT="development|Stream Control Transmission Protocol developement libraries."
pascal@20177 46 mkdir -p $fs/usr/lib/lksctp-tools
pascal@20177 47 cp -a $install/usr/include $fs/usr
pascal@20177 48 cp -a $install/usr/lib/libsctp.*a $fs/usr/lib
pascal@20177 49 cp -a $install/usr/lib/lksctp-tools/*a $fs/usr/lib/lksctp-tools
pascal@20177 50 ;;
pascal@20177 51 esac
pascal@4926 52 }