wok-current view xget/receipt @ rev 25517

updated gvim 8.2 -> 9.0.0133
author Hans-G?nter Theisgen
date Thu Feb 23 10:53:50 2023 +0100 (21 months ago)
parents ad86373a4a8c
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 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 }