wok-6.x view megatools/receipt @ rev 24066

Add some current_version()
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jul 05 15:00:07 2021 +0000 (2021-07-05)
parents 5c4ebc8de350
children 2a0479881723
line source
1 # SliTaz package receipt.
3 PACKAGE="megatools"
4 VERSION="1.9.96"
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"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="$WEB_SITE/builds/$TARBALL"
13 DEPENDS="glib libcurl openssl gmp"
14 BUILD_DEPENDS="glib-dev curl-dev openssl-dev gmp-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 ./configure $CONFIGURE_ARGS --disable-static \
20 && make && make install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 cp -a $install/* $fs
27 # upstream info: lib is deprecated; remove .h .pc .la
28 rm -r $fs/usr/share $fs/usr/lib/pkgconfig $fs/usr/lib/*a $fs/usr/include
29 }