wok-next view libbytesize/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents b5f2a6ab88b6
children 84891766f573
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-dev gmp-dev mpfr-dev pcre-dev"
16 SPLIT="$PACKAGE-python $PACKAGE $PACKAGE-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 *-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 }