wok-stable diff libedit-dev/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 e6114fcaafb8
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/libedit-dev/receipt	Tue Sep 09 22:15:17 2008 +0200
     1.3 @@ -0,0 +1,27 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="libedit-dev"
     1.7 +VERSION="2.11"
     1.8 +CATEGORY="development"
     1.9 +SHORT_DESC="Berkeley-style licensed command line editor library devel files"
    1.10 +MAINTAINER="domcox@users.sourceforge.net"
    1.11 +SOURCE="libedit-20080712"
    1.12 +WANTED="libedit"
    1.13 +
    1.14 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.15 +genpkg_rules()
    1.16 +{
    1.17 +	src=$WOK/$WANTED/$SOURCE-$VERSION
    1.18 +	_pkg=$src/_pkg
    1.19 +	echo "src=$src"
    1.20 +	mkdir -p $fs/usr $fs/usr/lib
    1.21 +    cp -a $_pkg/usr/include $fs/usr
    1.22 +    cp -a $_pkg/usr/lib/*a $fs/usr/lib
    1.23 +	cp -a $_pkg//usr/lib/pkgconfig $fs/usr/lib
    1.24 +}
    1.25 +
    1.26 +post_remove()
    1.27 +{
    1.28 +	rm -rf /usr/lib/pkgconfig
    1.29 +	rm -rf /usr/include/editline
    1.30 +}