wok-stable 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 | dc8da468bd43 |
children | 14003687d2b8 |
files | libedit-dev/receipt libedit/receipt |
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 +}
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/libedit/receipt Tue Sep 09 22:15:17 2008 +0200 2.3 @@ -0,0 +1,33 @@ 2.4 +# SliTaz package receipt. 2.5 + 2.6 +PACKAGE="libedit" 2.7 +VERSION="2.11" 2.8 +CATEGORY="library" 2.9 +SHORT_DESC="Berkeley-style licensed command line editor library" 2.10 +MAINTAINER="domcox@users.sourceforge.net" 2.11 +DEPENDS="" 2.12 +SOURCE="libedit-20080712" 2.13 +TARBALL="$SOURCE-$VERSION.tar.gz" 2.14 +WEB_SITE="http://www.thrysoee.dk/editline/" 2.15 +WGET_URL="http://www.thrysoee.dk/editline/$TARBALL" 2.16 + 2.17 +# Rules to configure and make the package. 2.18 +compile_rules() 2.19 +{ 2.20 + cd $src 2.21 + ./configure \ 2.22 + --prefix=/usr \ 2.23 + --mandir=/usr/share/man \ 2.24 + $CONFIGURE_ARGS \ 2.25 + && make 2.26 + make DESTDIR=$PWD/_pkg install 2.27 +} 2.28 + 2.29 +# Rules to gen a SliTaz package suitable for Tazpkg. 2.30 +genpkg_rules() 2.31 +{ 2.32 + mkdir -p $fs/usr/lib 2.33 + cp -a $_pkg/usr/lib/*.so* $fs/usr/lib 2.34 + strip --strip-unneeded $fs/usr/lib/* 2.35 +} 2.36 +