wok-next diff slib/receipt @ rev 21126
Hide more packages.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Jan 18 02:36:44 2019 +0200 (2019-01-18) |
parents | 9e01bc6321ea |
children |
line diff
1.1 --- a/slib/receipt Sun Dec 20 15:13:45 2015 +0100 1.2 +++ b/slib/receipt Fri Jan 18 02:36:44 2019 +0200 1.3 @@ -3,19 +3,17 @@ 1.4 PACKAGE="slib" 1.5 VERSION="3b3" 1.6 CATEGORY="office" 1.7 -SHORT_DESC="portable library for the programming language Scheme" 1.8 -MAINTAINER="domcox@slitaz.org" 1.9 +SHORT_DESC="Portable library for the programming language Scheme" 1.10 +MAINTAINER="devel@slitaz.org" 1.11 LICENSE="PublicDomain" 1.12 WEB_SITE="http://people.csail.mit.edu/jaffer/SLIB" 1.13 + 1.14 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.15 WGET_URL="http://groups.csail.mit.edu/mac/ftpdir/scm/$TARBALL" 1.16 1.17 -DEPENDS="guile" 1.18 BUILD_DEPENDS="guile texinfo" 1.19 1.20 -# Rules to configure and make the package. 1.21 -compile_rules() 1.22 -{ 1.23 +compile_rules() { 1.24 ./configure \ 1.25 --prefix=/usr && 1.26 sed -i 's/SCHEME = scm/SCHEME = guile/' Makefile 1.27 @@ -29,23 +27,21 @@ 1.28 ln -s $install/usr/share/slib $install/usr/share/guile/site 1.29 } 1.30 1.31 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.32 -genpkg_rules() 1.33 -{ 1.34 +genpkg_rules() { 1.35 cp -a $install/* $fs 1.36 + DEPENDS="guile" 1.37 } 1.38 1.39 -post_install() 1.40 -{ 1.41 +post_install() { 1.42 # add path to initialization file 1.43 sed -i s'#(load-from.*#(load-from-path "/usr/share/slib/guile.init")#' \ 1.44 "$1/usr/share/guile/1.8/ice-9/slib.scm" 1.45 - printf "Creating catalog" 1.46 + 1.47 + action "Creating catalog" 1.48 chroot "$1/" guile -c "((use-modules (ice-9 slib))(require 'new-catalog)(quit))" 1.49 status 1.50 } 1.51 1.52 -post_remove() 1.53 -{ 1.54 +post_remove() { 1.55 rm -f "$1/usr/share/guile/1.8/slibcat" 1.56 }