wok-next view libbytesize/receipt @ rev 21012

Small updates
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Oct 13 17:31:50 2018 +0300 (2018-10-13)
parents e7a485521d6a
children d5aab818505e
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libbytesize"
4 VERSION="1.4"
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/svn/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 pcre-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 DEPENDS="libbytesize libbytesize-python \
39 gmp-dev mpfr-dev"
40 ;;
41 esac
42 }