wok-next view libbytesize/receipt @ rev 20406

Continue: json-c, json-glib, keyutils, libarchive, libassuan, libatasmart, libatomic_ops, libblockdev, libbytesize, libcroco, libdaemon, libesmtp, libffi, libgcrypt, libgpg-error, libgsf, libgudev, libgusb
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Dec 08 02:55:48 2017 +0200 (2017-12-08)
parents 0a667524ce79
children 757d032c55c7
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 fix ld
20 ./autogen.sh &&
22 ./configure $CONFIGURE_ARGS &&
23 fix libtool &&
24 make && 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 }