wok-next annotate 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
rev   line source
al@19957 1 # SliTaz package receipt v2.
al@19957 2
al@19957 3 PACKAGE="libbytesize"
al@20905 4 VERSION="1.3"
al@19957 5 CATEGORY="libs"
al@19957 6 SHORT_DESC="C class for working with arbitrary big sizes"
al@19957 7 MAINTAINER="al.bobylev@gmail.com"
al@19957 8 LICENSE="LGPL2.1"
al@19957 9 WEB_SITE="https://github.com/storaged-project/libbytesize/"
al@20905 10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/general/libbytesize.html"
al@19957 11
al@19957 12 TARBALL="$PACKAGE-$VERSION.tar.gz"
al@20679 13 WGET_URL="https://github.com/storaged-project/libbytesize/releases/download/$VERSION/$TARBALL"
al@19957 14
al@20754 15 BUILD_DEPENDS="gettext gmp-dev mpfr-dev pcre-dev"
al@19957 16 SPLIT="libbytesize-python libbytesize libbytesize-dev"
al@19957 17
al@19957 18 compile_rules() {
al@20406 19 ./configure $CONFIGURE_ARGS &&
al@20406 20 fix libtool &&
al@20534 21 make &&
al@20534 22 make install
al@19957 23 }
al@19957 24
al@19957 25 genpkg_rules() {
al@19957 26 case $PACKAGE in
al@19957 27 libbytesize-python)
al@19957 28 copy *.py
al@19957 29 DEPENDS="libbytesize python"
al@19957 30 CAT="libs|python bindings"
al@19957 31 ;;
al@19957 32 libbytesize)
al@20406 33 copy @std @rm
al@20679 34 DEPENDS="gmp libpcre mpfr"
al@19957 35 ;;
al@19957 36 *-dev)
al@19957 37 copy @dev
al@20749 38 DEPENDS="libbytesize libbytesize-python \
al@20749 39 gmp-dev mpfr-dev"
al@19957 40 ;;
al@19957 41 esac
al@19957 42 }