wok rev 24900

updated megatools (1.9.96 -> 1.10.3)
author Hans-G?nter Theisgen
date Sat Apr 09 10:09:47 2022 +0100 (2022-04-09)
parents 60dbb8f0d88f
children 336e9ab0d78c
files megatools/receipt
line diff
     1.1 --- a/megatools/receipt	Sat Apr 09 09:41:00 2022 +0100
     1.2 +++ b/megatools/receipt	Sat Apr 09 10:09:47 2022 +0100
     1.3 @@ -1,17 +1,18 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="megatools"
     1.7 -VERSION="1.9.96"
     1.8 +VERSION="1.10.3"
     1.9  CATEGORY="network"
    1.10  SHORT_DESC="A collection of CLI programs for accessing Mega service."
    1.11  MAINTAINER="Lucas Levrel <llev@slitaz.org>"
    1.12  LICENSE="GPL2"
    1.13  WEB_SITE="https://megatools.megous.com"
    1.14 +
    1.15  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.16  WGET_URL="$WEB_SITE/builds/$TARBALL"
    1.17  
    1.18 -DEPENDS="glib libcurl openssl gmp"
    1.19 -BUILD_DEPENDS="glib-dev curl-dev openssl-dev gmp-dev"
    1.20 +DEPENDS="gcc83-lib-base glib libcurl openssl gmp"
    1.21 +BUILD_DEPENDS="curl-dev gcc83 glib-dev gmp-dev libcurl openssl-dev"
    1.22  
    1.23  # What is the latest version available today?
    1.24  current_version()
    1.25 @@ -23,14 +24,20 @@
    1.26  # Rules to configure and make the package.
    1.27  compile_rules()
    1.28  {
    1.29 -	./configure $CONFIGURE_ARGS --disable-static \
    1.30 -	&& make && make install
    1.31 +	# 1.10.3 unrecognised:
    1.32 +	#	--disable-static
    1.33 +
    1.34 +	./configure			\
    1.35 +		CC=gcc-83		\
    1.36 +		CXX=g++-83		\
    1.37 +		--disable-docs		\
    1.38 +		$CONFIGURE_ARGS &&
    1.39 +	make &&
    1.40 +	make install
    1.41  }
    1.42  
    1.43  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.44  genpkg_rules()
    1.45  {
    1.46 -	cp -a $install/* $fs
    1.47 -	# upstream info: lib is deprecated; remove .h .pc .la
    1.48 -	rm -r $fs/usr/share $fs/usr/lib/pkgconfig $fs/usr/lib/*a $fs/usr/include
    1.49 +	cook_copy_folders	bin
    1.50  }