wok-current view xget/receipt @ rev 24538

updated fbcat (0.5.1 -> 0.5.2)
author Hans-G?nter Theisgen
date Wed Feb 23 15:14:49 2022 +0100 (2022-02-23)
parents 23c3aed67cd9
children b0069c845544
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="http://xcpu.sourceforge.net/xget"
12 WGET_URL="$SF_MIRROR/xcpu/$VERSION/$TARBALL"
14 DEPENDS=""
15 BUILD_DEPENDS="openssl openssl-dev elfutils-dev"
17 current_version()
18 {
19 wget -O - https://sourceforge.net/projects/$SOURCE/files/ 2>/dev/null | \
20 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
21 sed '/files_name_h/!d;/XCPU/!d;s|.*XCPU/||;s|/.*||;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 cd $src
28 make -j 1 &&
29 make INSTALLPREFIX=$DESTDIR/usr install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/sbin
36 cp -a $install/usr/sbin/xget $fs/usr/sbin
37 }