wok-4.x annotate libedit-dev/receipt @ rev 6083
Up: libedit, libedit-dev (20100424-3.0)
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Sun Aug 29 11:28:56 2010 +0200 (2010-08-29) |
parents | 16f589e63804 |
children | bd1f53513207 |
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@6083 | 9 SOURCE="libedit-20100424" |
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 } |