# SliTaz package receipt. PACKAGE="sctp-tools" VERSION="1.0.11" CATEGORY="network" SHORT_DESC="Stream Control Transmission Protocol tools." MAINTAINER="pascal.bellard@slitaz.org" SOURCE="lksctp-tools" TARBALL="$SOURCE-$VERSION.tar.gz" WEB_SITE="http://lksctp.sourceforge.net/" WGET_URL="$SF_MIRROR/project/lksctp/lksctp/$SOURCE-$VERSION/$TARBALL" DEPENDS="libsctp" # Rules to configure and make the package. compile_rules() { ln -s $src $PACKAGE-$VERSION cd $src ./configure --prefix=/usr --infodir=/usr/share/info \ --mandir=/usr/share/man \ $CONFIGURE_ARGS && make && make DESTDIR=$PWD/_pkg install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/lib/lksctp-tools cp -a $_pkg/usr/bin $fs/usr cp -a $_pkg/usr/lib/lksctp-tools/libwithsctp.so* \ $fs/usr/lib/lksctp-tools }