wok-6.x annotate libedit-dev/receipt @ rev 5211
slitaz-mercurial-style: typos (thanks paul)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Apr 03 01:29:07 2010 +0200 (2010-04-03) |
parents | d5be027602dd |
children | 16f589e63804 |
rev | line source |
---|---|
domcox@1356 | 1 # SliTaz package receipt. |
domcox@1356 | 2 |
domcox@1356 | 3 PACKAGE="libedit-dev" |
domcox@1356 | 4 VERSION="2.11" |
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@1356 | 9 SOURCE="libedit-20080712" |
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 } |