wok annotate libedit-dev/receipt @ rev 5415

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