wok-6.x annotate megatools/receipt @ rev 22152
linld: hack for VCPI
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Nov 06 21:02:18 2019 +0100 (2019-11-06) |
parents | 5c4ebc8de350 |
children | 2a0479881723 |
rev | line source |
---|---|
llevrel@18833 | 1 # SliTaz package receipt. |
llevrel@18833 | 2 |
llevrel@18833 | 3 PACKAGE="megatools" |
llevrel@18833 | 4 VERSION="1.9.96" |
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" |
llevrel@18833 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
llevrel@18833 | 11 WGET_URL="$WEB_SITE/builds/$TARBALL" |
llevrel@18833 | 12 |
llevrel@18833 | 13 DEPENDS="glib libcurl openssl gmp" |
llevrel@18833 | 14 BUILD_DEPENDS="glib-dev curl-dev openssl-dev gmp-dev" |
llevrel@18833 | 15 |
llevrel@18833 | 16 # Rules to configure and make the package. |
llevrel@18833 | 17 compile_rules() |
llevrel@18833 | 18 { |
llevrel@18835 | 19 ./configure $CONFIGURE_ARGS --disable-static \ |
llevrel@18835 | 20 && make && make install |
llevrel@18833 | 21 } |
llevrel@18833 | 22 |
llevrel@18833 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
llevrel@18833 | 24 genpkg_rules() |
llevrel@18833 | 25 { |
llevrel@18833 | 26 cp -a $install/* $fs |
llevrel@18835 | 27 # upstream info: lib is deprecated; remove .h .pc .la |
llevrel@18835 | 28 rm -r $fs/usr/share $fs/usr/lib/pkgconfig $fs/usr/lib/*a $fs/usr/include |
llevrel@18833 | 29 } |