wok-undigest annotate xget/receipt @ rev 482

xget: fix compile_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Sep 24 22:43:37 2011 +0200 (2011-09-24)
parents b9609b8491d9
children
rev   line source
pascal@481 1 # SliTaz package receipt.
pascal@481 2
pascal@481 3 PACKAGE="xget"
pascal@481 4 SOURCE="xcpu"
pascal@481 5 VERSION="1.2.3"
pascal@481 6 CATEGORY="network"
pascal@481 7 SHORT_DESC="Scalable file-transfer agent."
pascal@481 8 MAINTAINER="pascal.bellard@slitaz.org"
pascal@481 9 TARBALL="${SOURCE}1-$VERSION.tar.gz"
pascal@481 10 WEB_SITE="http://xcpu.sourceforge.net/xget"
pascal@481 11 WGET_URL="$SF_MIRROR/xcpu/$VERSION/$TARBALL"
pascal@481 12
pascal@481 13 DEPENDS=""
pascal@481 14 BUILD_DEPENDS="openssl-dev elfutils-dev"
pascal@481 15
pascal@481 16 # Rules to configure and make the package.
pascal@481 17 compile_rules()
pascal@481 18 {
pascal@481 19 cd $src
pascal@482 20 make -j 1 &&
pascal@481 21 make INSTALLPREFIX=$DESTDIR/usr install
pascal@481 22 }
pascal@481 23
pascal@481 24 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@481 25 genpkg_rules()
pascal@481 26 {
pascal@481 27 mkdir -p $fs/usr/sbin
pascal@481 28 cp -a $_pkg/usr/sbin/xget $fs/usr/sbin
pascal@481 29 }