wok-current view libedit-dev/receipt @ rev 5375
Up: grub2 (1.98)
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sat May 01 01:49:05 2010 +0000 (2010-05-01) |
parents | e6114fcaafb8 |
children | a0629adf72c8 |
line source
1 # SliTaz package receipt.
3 PACKAGE="libedit-dev"
4 VERSION="3.0"
5 CATEGORY="development"
6 SHORT_DESC="Berkeley-style licensed command line editor library devel files"
7 MAINTAINER="domcox@users.sourceforge.net"
8 WEB_SITE="http://www.thrysoee.dk/editline/"
9 SOURCE="libedit-20090923"
10 WANTED="libedit"
12 # Rules to gen a SliTaz package suitable for Tazpkg.
13 genpkg_rules()
14 {
15 src=$WOK/$WANTED/$SOURCE-$VERSION
16 _pkg=$src/_pkg
17 echo "src=$src"
18 mkdir -p $fs/usr $fs/usr/lib
19 cp -a $_pkg/usr/include $fs/usr
20 cp -a $_pkg/usr/lib/*a $fs/usr/lib
21 cp -a $_pkg//usr/lib/pkgconfig $fs/usr/lib
22 }
24 post_remove()
25 {
26 rm -rf /usr/lib/pkgconfig
27 rm -rf /usr/include/editline
28 }