wok-6.x annotate xget/receipt @ rev 19509
syslinux: create /etc/slitaz-version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Nov 21 09:32:06 2016 +0100 (2016-11-21) |
parents | 9f73b90cad5a |
children | ad86373a4a8c |
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@15601 | 9 LICENSE="MIT GPL" |
pascal@11204 | 10 TARBALL="${SOURCE}1-$VERSION.tar.gz" |
pascal@11204 | 11 WEB_SITE="http://xcpu.sourceforge.net/xget" |
pascal@11204 | 12 WGET_URL="$SF_MIRROR/xcpu/$VERSION/$TARBALL" |
pascal@11204 | 13 |
pascal@11204 | 14 DEPENDS="" |
gokhlayeh@11469 | 15 BUILD_DEPENDS="openssl openssl-dev elfutils-dev" |
pascal@11204 | 16 |
pascal@11204 | 17 # Rules to configure and make the package. |
pascal@11204 | 18 compile_rules() |
pascal@11204 | 19 { |
pascal@11204 | 20 cd $src |
pascal@11204 | 21 make -j 1 && |
pascal@11204 | 22 make INSTALLPREFIX=$DESTDIR/usr install |
pascal@11204 | 23 } |
pascal@11204 | 24 |
pascal@11204 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
gokhlayeh@11469 | 26 genpkg_rules() |
pascal@11204 | 27 { |
pascal@11204 | 28 mkdir -p $fs/usr/sbin |
pascal@15601 | 29 cp -a $install/usr/sbin/xget $fs/usr/sbin |
pascal@11204 | 30 } |