wok-next annotate 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 |
rev | line source |
---|---|
al@19957 | 1 # SliTaz package receipt v2. |
al@19957 | 2 |
al@19957 | 3 PACKAGE="libbytesize" |
al@21012 | 4 VERSION="1.4" |
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@21020 | 15 BUILD_DEPENDS="gettext-dev gmp-dev mpfr-dev pcre-dev" |
al@21020 | 16 SPLIT="$PACKAGE-python $PACKAGE $PACKAGE-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@21020 | 27 *-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 } |