wok-next annotate megatools/receipt @ rev 20762
Add leanify
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Jun 05 17:27:09 2018 +0300 (2018-06-05) |
parents | 824e5ee3068c |
children | d5aab818505e |
rev | line source |
---|---|
al@20599 | 1 # SliTaz package receipt v2. |
llevrel@18833 | 2 |
llevrel@18833 | 3 PACKAGE="megatools" |
llevrel@18833 | 4 VERSION="1.9.96" |
llevrel@18833 | 5 CATEGORY="network" |
al@20599 | 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" |
al@20599 | 10 |
llevrel@18833 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
llevrel@18833 | 12 WGET_URL="$WEB_SITE/builds/$TARBALL" |
llevrel@18833 | 13 |
llevrel@18833 | 14 BUILD_DEPENDS="glib-dev curl-dev openssl-dev gmp-dev" |
llevrel@18833 | 15 |
al@20599 | 16 compile_rules() { |
al@20599 | 17 ./configure \ |
al@20599 | 18 --disable-static \ |
al@20599 | 19 $CONFIGURE_ARGS && |
al@20599 | 20 fix libtool && |
al@20599 | 21 make && |
al@20599 | 22 make install |
llevrel@18833 | 23 } |
llevrel@18833 | 24 |
al@20599 | 25 genpkg_rules() { |
al@20599 | 26 copy @std |
llevrel@18835 | 27 # upstream info: lib is deprecated; remove .h .pc .la |
al@20599 | 28 DEPENDS="glib libcurl openssl gmp" |
llevrel@18833 | 29 } |