wok view xget/receipt @ rev 25682
Up libqcow (20240308)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Mar 24 18:25:46 2024 +0000 (5 months ago) |
parents | b0069c845544 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="xget"
4 SOURCE="xcpu"
5 VERSION="1.2.3"
6 CATEGORY="network"
7 SHORT_DESC="Scalable file-transfer agent."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="MIT GPL"
10 TARBALL="${SOURCE}1-$VERSION.tar.gz"
11 WEB_SITE="https://xcpu.sourceforge.net/xget"
12 WGET_URL="$SF_MIRROR/xcpu/$VERSION/$TARBALL"
14 DEPENDS=""
15 BUILD_DEPENDS="openssl openssl-dev elfutils-dev"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://sourceforge.net/projects/$SOURCE/files/ 2>/dev/null | \
21 sed '/scope="row/!d;s|.*a href="|"https://sourceforge.net|;s| .*||;q' | xargs wget -O - 2>/dev/null | \
22 sed '/files_name_h/!d;/XCPU/!d;s|.*XCPU/||;s|/.*||;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 cd $src
29 make -j 1 &&
30 make INSTALLPREFIX=$DESTDIR/usr install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/sbin
37 cp -a $install/usr/sbin/xget $fs/usr/sbin
38 }