wok-next view libbytesize/receipt @ rev 20905
Update packages from ISO and LFS backages (all but toolchain)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Aug 07 00:30:45 2018 +0300 (2018-08-07) |
parents | 628885b2ba74 |
children | b5f2a6ab88b6 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libbytesize"
4 VERSION="1.3"
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 }