wok annotate megatools/receipt @ rev 25014

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