wok-stable view libedit-dev/receipt @ rev 1399
Up: wormux to 0.8.1
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Sat Sep 20 11:15:19 2008 +0200 (2008-09-20) |
parents | |
children | e6114fcaafb8 |
line source
1 # SliTaz package receipt.
3 PACKAGE="libedit-dev"
4 VERSION="2.11"
5 CATEGORY="development"
6 SHORT_DESC="Berkeley-style licensed command line editor library devel files"
7 MAINTAINER="domcox@users.sourceforge.net"
8 SOURCE="libedit-20080712"
9 WANTED="libedit"
11 # Rules to gen a SliTaz package suitable for Tazpkg.
12 genpkg_rules()
13 {
14 src=$WOK/$WANTED/$SOURCE-$VERSION
15 _pkg=$src/_pkg
16 echo "src=$src"
17 mkdir -p $fs/usr $fs/usr/lib
18 cp -a $_pkg/usr/include $fs/usr
19 cp -a $_pkg/usr/lib/*a $fs/usr/lib
20 cp -a $_pkg//usr/lib/pkgconfig $fs/usr/lib
21 }
23 post_remove()
24 {
25 rm -rf /usr/lib/pkgconfig
26 rm -rf /usr/include/editline
27 }