wok view megatools/receipt @ rev 25421

Update some web_site
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Aug 10 07:02:08 2022 +0000 (21 months ago)
parents 2a0479881723
children
line source
1 # SliTaz package receipt.
3 PACKAGE="megatools"
4 VERSION="1.10.3"
5 CATEGORY="network"
6 SHORT_DESC="A collection of CLI programs for accessing Mega service."
7 MAINTAINER="Lucas Levrel <llev@slitaz.org>"
8 LICENSE="GPL2"
9 WEB_SITE="https://megatools.megous.com"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$WEB_SITE/builds/$TARBALL"
14 DEPENDS="gcc83-lib-base glib libcurl openssl gmp"
15 BUILD_DEPENDS="curl-dev gcc83 glib-dev gmp-dev libcurl openssl-dev"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - ${WGET_URL%/*} 2>/dev/null | \
21 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 # 1.10.3 unrecognised:
28 # --disable-static
30 ./configure \
31 CC=gcc-83 \
32 CXX=g++-83 \
33 --disable-docs \
34 $CONFIGURE_ARGS &&
35 make &&
36 make install
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 cook_copy_folders bin
43 }