wok-next view guile/receipt @ rev 20967

Micro-updates
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Sep 11 03:22:00 2018 +0300 (2018-09-11)
parents 835329ad7a46
children f48456621a9d
line source
1 # SliTaz package receipt v2.
3 PACKAGE="guile"
4 VERSION="2.2.4"
5 CATEGORY="development"
6 SHORT_DESC="GNU Ubiquitous Intelligent Language for Extension"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="LGPL3"
9 WEB_SITE="https://www.gnu.org/software/guile/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/general/guile.html"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
15 BUILD_DEPENDS="libtool gmp-dev libunistring-dev libffi-dev gettext gc-dev \
16 texinfo readline-dev"
17 SPLIT="guile-dev"
19 compile_rules() {
20 ./configure \
21 -disable-static \
22 $CONFIGURE_ARGS &&
23 fix libtool &&
24 make &&
25 make html &&
26 makeinfo --plaintext -o doc/r5rs/r5rs.txt doc/r5rs/r5rs.texi &&
27 makeinfo --plaintext -o doc/ref/guile.txt doc/ref/guile.texi &&
28 make install &&
29 make install-html || return 1
31 mkdir -p $install/usr/share/gdb/auto-load/usr/lib
32 mv $install/usr/lib/libguile-*-gdb.scm \
33 $install/usr/share/gdb/auto-load/usr/lib
34 mv $install/usr/share/doc/guile-$VERSION/guile.html \
35 $install/usr/share/doc/guile-$VERSION/ref
36 mv $install/usr/share/doc/guile-$VERSION/r5rs.html \
37 $install/usr/share/doc/guile-$VERSION/r5rs
39 find examples -name "Makefile*" -delete
40 cp -vR examples $install/usr/share/doc/guile-$VERSION
42 install -v -m644 doc/r5rs/*.txt $install/usr/share/doc/guile-$VERSION/r5rs
43 install -v -m644 doc/ref/*.txt $install/usr/share/doc/guile-$VERSION/ref
44 }
46 genpkg_rules() {
47 case $PACKAGE in
48 guile)
49 copy @std
50 DEPENDS="gc gmp libffi libltdl libunistring readline"
51 ;;
52 *-dev)
53 copy @dev
54 ;;
55 esac
56 }