wok-next view librep/receipt @ rev 21094

Apply "force-arch" for selected dev packages
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Dec 31 17:23:40 2018 +0200 (2018-12-31)
parents d5aab818505e
children 0ed3f456a542
line source
1 # SliTaz package receipt v2.
3 PACKAGE="librep"
4 VERSION="0.92.7"
5 CATEGORY="development"
6 SHORT_DESC="Lisp system"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="http://librep.sourceforge.net/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/general/librep.html"
12 TARBALL="librep_$VERSION.tar.xz"
13 WGET_URL="http://download.tuxfamily.org/librep/$TARBALL"
15 COOKOPTS="skip-log-errors force-arch" # different .h
17 BUILD_DEPENDS="gmp-dev gdbm-dev libffi-dev readline-dev texinfo"
18 SPLIT="$PACKAGE-dev"
20 compile_rules() {
21 ./configure \
22 --disable-static \
23 $CONFIGURE_ARGS &&
24 fix libtool &&
25 make &&
26 make DESTDIR=$install install
27 }
29 genpkg_rules() {
30 case $PACKAGE in
31 librep)
32 copy @std
33 DEPENDS="gdbm gmp readline"
34 ;;
35 *-dev)
36 copy @dev
37 ;;
38 esac
39 }