# SliTaz package receipt. PACKED_SIZE="100.0K" UNPACKED_SIZE="228.0K" PACKAGE="ctorrent-dnh" VERSION="3.3.2" CATEGORY="network" SHORT_DESC="Command line Bittorrent client." MAINTAINER="pankso@slitaz.org" [ -n "$TARGET" ] || TARGET="i486" BUILD_DEPENDS="uclibc-cross-compiler-$TARGET" TARBALL="${PACKAGE}$VERSION.tar.gz" WEB_SITE="http://www.rahul.net/dholmes/ctorrent/" WGET_URL="$SF_MIRROR/dtorrent/$TARBALL" # Rules to configure and make the package. compile_rules() { mv ${PACKAGE}$VERSION $PACKAGE-$VERSION 2>/dev/null cd $src ./configure \ --prefix=/usr \ --with-ssl=no \ --host=$TARGET-pc-linux-gnu \ CC=uclibc-$TARGET-cc && make make DESTDIR=$PWD/_pkg install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr cp -a $_pkg/usr/bin $fs/usr }