wok diff libedit/receipt @ rev 1356

Add: libedit BSD licensed command line editor library
author Dominique Corbex <domcox@users.sourceforge.net>
date Tue Sep 09 22:15:17 2008 +0200 (2008-09-09)
parents
children 03a799424aaa
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/libedit/receipt	Tue Sep 09 22:15:17 2008 +0200
     1.3 @@ -0,0 +1,33 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="libedit"
     1.7 +VERSION="2.11"
     1.8 +CATEGORY="library"
     1.9 +SHORT_DESC="Berkeley-style licensed command line editor library"
    1.10 +MAINTAINER="domcox@users.sourceforge.net"
    1.11 +DEPENDS=""
    1.12 +SOURCE="libedit-20080712"
    1.13 +TARBALL="$SOURCE-$VERSION.tar.gz"
    1.14 +WEB_SITE="http://www.thrysoee.dk/editline/"
    1.15 +WGET_URL="http://www.thrysoee.dk/editline/$TARBALL"
    1.16 +
    1.17 +# Rules to configure and make the package.
    1.18 +compile_rules()
    1.19 +{
    1.20 +	cd $src
    1.21 +	./configure \
    1.22 +		--prefix=/usr \
    1.23 +		--mandir=/usr/share/man \
    1.24 +		$CONFIGURE_ARGS \
    1.25 +	&& make
    1.26 +	make DESTDIR=$PWD/_pkg install
    1.27 +}
    1.28 +
    1.29 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.30 +genpkg_rules()
    1.31 +{
    1.32 +	mkdir -p $fs/usr/lib
    1.33 +	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    1.34 +	strip --strip-unneeded $fs/usr/lib/*
    1.35 +}
    1.36 +