wok-next annotate xget/receipt @ rev 15136
puzzles: create version2.def
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Aug 15 10:51:36 2013 +0000 (2013-08-15) |
parents | bcd90ecb3091 |
children | 23c3aed67cd9 |
rev | line source |
---|---|
pascal@11204 | 1 # SliTaz package receipt. |
pascal@11204 | 2 |
pascal@11204 | 3 PACKAGE="xget" |
pascal@11204 | 4 SOURCE="xcpu" |
pascal@11204 | 5 VERSION="1.2.3" |
pascal@11204 | 6 CATEGORY="network" |
pascal@11204 | 7 SHORT_DESC="Scalable file-transfer agent." |
pascal@11204 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@11204 | 9 TARBALL="${SOURCE}1-$VERSION.tar.gz" |
pascal@11204 | 10 WEB_SITE="http://xcpu.sourceforge.net/xget" |
pascal@11204 | 11 WGET_URL="$SF_MIRROR/xcpu/$VERSION/$TARBALL" |
pascal@11204 | 12 |
pascal@11204 | 13 DEPENDS="" |
gokhlayeh@11469 | 14 BUILD_DEPENDS="openssl openssl-dev elfutils-dev" |
pascal@11204 | 15 |
pascal@11204 | 16 # Rules to configure and make the package. |
pascal@11204 | 17 compile_rules() |
pascal@11204 | 18 { |
pascal@11204 | 19 cd $src |
pascal@11204 | 20 make -j 1 && |
pascal@11204 | 21 make INSTALLPREFIX=$DESTDIR/usr install |
pascal@11204 | 22 } |
pascal@11204 | 23 |
pascal@11204 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
gokhlayeh@11469 | 25 genpkg_rules() |
pascal@11204 | 26 { |
pascal@11204 | 27 mkdir -p $fs/usr/sbin |
pascal@11204 | 28 cp -a $_pkg/usr/sbin/xget $fs/usr/sbin |
pascal@11204 | 29 } |