wok-next view libbytesize/receipt @ rev 20678

Up clisp (2.50)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue May 15 02:59:03 2018 +0300 (2018-05-15)
parents 2d54d154d5ca
children 1ca369c9f448
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libbytesize"
4 VERSION="0.11"
5 CATEGORY="libs"
6 SHORT_DESC="C class for working with arbitrary big sizes"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="LGPL2.1"
9 WEB_SITE="https://github.com/storaged-project/libbytesize/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/general/libbytesize.html"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="https://github.com/storaged-project/libbytesize/archive/$TARBALL"
15 BUILD_DEPENDS="automake libtool gettext gmp-dev mpfr-dev"
16 SPLIT="libbytesize-python libbytesize libbytesize-dev"
18 compile_rules() {
19 ./autogen.sh &&
21 ./configure $CONFIGURE_ARGS &&
22 fix libtool &&
23 make &&
24 make install
25 }
27 genpkg_rules() {
28 case $PACKAGE in
29 libbytesize-python)
30 copy *.py
31 DEPENDS="libbytesize python"
32 CAT="libs|python bindings"
33 ;;
34 libbytesize)
35 copy @std @rm
36 DEPENDS="gmp mpfr pcre"
37 ;;
38 *-dev)
39 copy @dev
40 DEPENDS="libbytesize libbytesize-python \
41 glib-dev gmp-dev mpfr-dev pcre-dev"
42 ;;
43 esac
44 }