wok-next diff librep/receipt @ rev 20714

netkit-rsh: typo
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sun May 27 12:56:13 2018 +0300 (2018-05-27)
parents
children f48456621a9d
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/librep/receipt	Sun May 27 12:56:13 2018 +0300
     1.3 @@ -0,0 +1,39 @@
     1.4 +# SliTaz package receipt v2.
     1.5 +
     1.6 +PACKAGE="librep"
     1.7 +VERSION="0.92.7"
     1.8 +CATEGORY="development"
     1.9 +SHORT_DESC="Lisp system"
    1.10 +MAINTAINER="al.bobylev@gmail.com"
    1.11 +LICENSE="GPL2"
    1.12 +WEB_SITE="http://librep.sourceforge.net/"
    1.13 +LFS="http://www.linuxfromscratch.org/blfs/view/stable/general/librep.html"
    1.14 +
    1.15 +TARBALL="librep_$VERSION.tar.xz"
    1.16 +WGET_URL="http://download.tuxfamily.org/librep/$TARBALL"
    1.17 +
    1.18 +BUILD_DEPENDS="gmp-dev gdbm-dev libffi-dev readline-dev texinfo"
    1.19 +SPLIT="librep-dev"
    1.20 +
    1.21 +COOKOPTS="skip-log-errors"
    1.22 +
    1.23 +compile_rules() {
    1.24 +	./configure \
    1.25 +		--disable-static \
    1.26 +		$CONFIGURE_ARGS &&
    1.27 +	fix libtool &&
    1.28 +	make &&
    1.29 +	make DESTDIR=$install install
    1.30 +}
    1.31 +
    1.32 +genpkg_rules() {
    1.33 +	case $PACKAGE in
    1.34 +		librep)
    1.35 +			copy @std
    1.36 +			DEPENDS="gdbm gmp readline"
    1.37 +			;;
    1.38 +		*-dev)
    1.39 +			copy @dev
    1.40 +			;;
    1.41 +	esac
    1.42 +}