wok-next view libbytesize/receipt @ rev 20074
Up dooble, smtube
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Wed Oct 25 05:01:33 2017 +0200 (2017-10-25) |
parents | |
children | 2d54d154d5ca |
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 && make && make install
22 }
24 genpkg_rules() {
25 case $PACKAGE in
26 libbytesize-python)
27 copy *.py
28 DEPENDS="libbytesize python"
29 CAT="libs|python bindings"
30 ;;
31 libbytesize)
32 copy @std; remove_already_packed
33 DEPENDS="gmp mpfr pcre"
34 ;;
35 *-dev)
36 copy @dev
37 DEPENDS="libbytesize libbytesize-python glib-dev gmp-dev mpfr-dev \
38 pcre-dev"
39 ;;
40 esac
41 }