wok-next view libbytesize/receipt @ rev 20730
glib: up (2.56.1) with static libs and Python2
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue May 29 15:17:41 2018 +0300 (2018-05-29) |
parents | 757d032c55c7 |
children | 342b30daff76 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libbytesize"
4 VERSION="1.2"
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/releases/download/$VERSION/$TARBALL"
15 BUILD_DEPENDS="gettext gmp-dev mpfr-dev"
16 SPLIT="libbytesize-python libbytesize libbytesize-dev"
18 compile_rules() {
19 ./configure $CONFIGURE_ARGS &&
20 fix libtool &&
21 make &&
22 make install
23 }
25 genpkg_rules() {
26 case $PACKAGE in
27 libbytesize-python)
28 copy *.py
29 DEPENDS="libbytesize python"
30 CAT="libs|python bindings"
31 ;;
32 libbytesize)
33 copy @std @rm
34 DEPENDS="gmp libpcre mpfr"
35 ;;
36 *-dev)
37 copy @dev
38 ;;
39 esac
40 }