wok-next view guile/receipt @ rev 21634
updated exiftool (11.17 -> 12.01)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jun 26 10:45:57 2020 +0100 (2020-06-26) |
parents | d5aab818505e |
children |
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="devel@slitaz.org"
8 LICENSE="LGPL3"
9 WEB_SITE="https://www.gnu.org/software/guile/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/general/guile.html"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
15 COOKOPTS="force-arch" # different configs, .h, .pc
17 BUILD_DEPENDS="libtool gmp-dev libunistring-dev libffi-dev gettext-dev gc-dev \
18 texinfo readline-dev"
19 SPLIT="$PACKAGE-dev"
21 compile_rules() {
22 ./configure \
23 -disable-static \
24 $CONFIGURE_ARGS &&
25 fix libtool &&
26 make &&
27 make html &&
28 makeinfo --plaintext -o doc/r5rs/r5rs.txt doc/r5rs/r5rs.texi &&
29 makeinfo --plaintext -o doc/ref/guile.txt doc/ref/guile.texi &&
30 make install &&
31 make install-html || return 1
33 mkdir -p $install/usr/share/gdb/auto-load/usr/lib
34 mv $install/usr/lib/libguile-*-gdb.scm \
35 $install/usr/share/gdb/auto-load/usr/lib
36 mv $install/usr/share/doc/guile-$VERSION/guile.html \
37 $install/usr/share/doc/guile-$VERSION/ref
38 mv $install/usr/share/doc/guile-$VERSION/r5rs.html \
39 $install/usr/share/doc/guile-$VERSION/r5rs
41 find examples -name "Makefile*" -delete
42 cp -vR examples $install/usr/share/doc/guile-$VERSION
44 install -v -m644 doc/r5rs/*.txt $install/usr/share/doc/guile-$VERSION/r5rs
45 install -v -m644 doc/ref/*.txt $install/usr/share/doc/guile-$VERSION/ref
46 }
48 genpkg_rules() {
49 case $PACKAGE in
50 guile)
51 copy @std
52 DEPENDS="gc gmp libffi libltdl libunistring readline"
53 ;;
54 *-dev)
55 copy @dev
56 ;;
57 esac
58 }