wok-6.x annotate sctp-tools/receipt @ rev 21810

Add python-cffi, python-cparser & python-cryptography
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Aug 17 18:44:53 2019 +0200 (2019-08-17)
parents 8d6f480bf664
children e919c5a2742d
rev   line source
pascal@4926 1 # SliTaz package receipt.
pascal@4926 2
pascal@4926 3 PACKAGE="sctp-tools"
Hans-G?nter@21287 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"
Hans-G?nter@21287 9 WEB_SITE="http://lksctp.sourceforge.net/"
Hans-G?nter@21287 10
pascal@4926 11 SOURCE="lksctp-tools"
pascal@4926 12 TARBALL="$SOURCE-$VERSION.tar.gz"
Hans-G?nter@21287 13 WGET_URL="$SF_MIRROR/lksctp/$SOURCE/$TARBALL"
pascal@15482 14
pascal@4926 15 DEPENDS="libsctp"
pascal@4926 16
pascal@4926 17 # Rules to configure and make the package.
pascal@4926 18 compile_rules()
pascal@4926 19 {
pascal@4926 20 ln -s $src $PACKAGE-$VERSION
pascal@4926 21 cd $src
Hans-G?nter@21287 22
Hans-G?nter@21287 23 ./configure \
Hans-G?nter@21287 24 --prefix=/usr \
Hans-G?nter@21287 25 --infodir=/usr/share/info \
Hans-G?nter@21287 26 --mandir=/usr/share/man \
Hans-G?nter@21287 27 $CONFIGURE_ARGS &&
Hans-G?nter@21287 28 make -j 1 &&
pascal@15482 29 make DESTDIR=$DESTDIR install
pascal@4926 30 }
pascal@4926 31
pascal@4926 32 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@4926 33 genpkg_rules()
pascal@4926 34 {
pascal@4926 35 mkdir -p $fs/usr/lib/lksctp-tools
Hans-G?nter@21287 36
Hans-G?nter@21287 37 cp -a $install/usr/bin $fs/usr
pascal@15482 38 cp -a $install/usr/lib/lksctp-tools/libwithsctp.so* \
pascal@4926 39 $fs/usr/lib/lksctp-tools
pascal@4926 40 }