wok-next diff libbytesize/receipt @ rev 20043
gdb: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Oct 22 21:23:15 2017 +0200 (2017-10-22) |
parents | |
children | 2d54d154d5ca |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/libbytesize/receipt Sun Oct 22 21:23:15 2017 +0200 1.3 @@ -0,0 +1,41 @@ 1.4 +# SliTaz package receipt v2. 1.5 + 1.6 +PACKAGE="libbytesize" 1.7 +VERSION="0.11" 1.8 +CATEGORY="libs" 1.9 +SHORT_DESC="C class for working with arbitrary big sizes" 1.10 +MAINTAINER="al.bobylev@gmail.com" 1.11 +LICENSE="LGPL2.1" 1.12 +WEB_SITE="https://github.com/storaged-project/libbytesize/" 1.13 +LFS="http://www.linuxfromscratch.org/blfs/view/stable/general/libbytesize.html" 1.14 + 1.15 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.16 +WGET_URL="https://github.com/storaged-project/libbytesize/archive/$TARBALL" 1.17 + 1.18 +BUILD_DEPENDS="automake libtool gettext gmp-dev mpfr-dev" 1.19 +SPLIT="libbytesize-python libbytesize libbytesize-dev" 1.20 + 1.21 +compile_rules() { 1.22 + ./autogen.sh && 1.23 + 1.24 + ./configure $CONFIGURE_ARGS && make && make install 1.25 +} 1.26 + 1.27 +genpkg_rules() { 1.28 + case $PACKAGE in 1.29 + libbytesize-python) 1.30 + copy *.py 1.31 + DEPENDS="libbytesize python" 1.32 + CAT="libs|python bindings" 1.33 + ;; 1.34 + libbytesize) 1.35 + copy @std; remove_already_packed 1.36 + DEPENDS="gmp mpfr pcre" 1.37 + ;; 1.38 + *-dev) 1.39 + copy @dev 1.40 + DEPENDS="libbytesize libbytesize-python glib-dev gmp-dev mpfr-dev \ 1.41 + pcre-dev" 1.42 + ;; 1.43 + esac 1.44 +}