wok-next annotate librep/receipt @ rev 21156
Small updates.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Feb 02 16:32:35 2019 +0200 (2019-02-02) |
parents | e19ff076dc63 |
children |
rev | line source |
---|---|
al@20647 | 1 # SliTaz package receipt v2. |
al@20647 | 2 |
al@20647 | 3 PACKAGE="librep" |
al@20647 | 4 VERSION="0.92.7" |
al@20647 | 5 CATEGORY="development" |
al@20647 | 6 SHORT_DESC="Lisp system" |
al@20647 | 7 MAINTAINER="al.bobylev@gmail.com" |
al@20647 | 8 LICENSE="GPL2" |
al@20647 | 9 WEB_SITE="http://librep.sourceforge.net/" |
al@21017 | 10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/general/librep.html" |
al@20647 | 11 |
al@20647 | 12 TARBALL="librep_$VERSION.tar.xz" |
al@20647 | 13 WGET_URL="http://download.tuxfamily.org/librep/$TARBALL" |
al@20647 | 14 |
al@21094 | 15 COOKOPTS="skip-log-errors force-arch" # different .h |
al@21094 | 16 |
al@20647 | 17 BUILD_DEPENDS="gmp-dev gdbm-dev libffi-dev readline-dev texinfo" |
al@21020 | 18 SPLIT="$PACKAGE-dev" |
al@20647 | 19 |
al@20647 | 20 compile_rules() { |
al@20647 | 21 ./configure \ |
al@20647 | 22 --disable-static \ |
al@20647 | 23 $CONFIGURE_ARGS && |
al@20647 | 24 fix libtool && |
al@20647 | 25 make && |
al@20647 | 26 make DESTDIR=$install install |
al@20647 | 27 } |
al@20647 | 28 |
al@20647 | 29 genpkg_rules() { |
al@20647 | 30 case $PACKAGE in |
al@20647 | 31 librep) |
al@20647 | 32 copy @std |
al@21111 | 33 DEPENDS="libgdbm gmp readline" |
al@20647 | 34 ;; |
al@20647 | 35 *-dev) |
al@20647 | 36 copy @dev |
al@20647 | 37 ;; |
al@20647 | 38 esac |
al@20647 | 39 } |