wok-6.x annotate libedit-dev/receipt @ rev 1372
Add qmake
author | Allan Pinto <allan316@gmail.com> |
---|---|
date | Thu Sep 11 19:08:58 2008 +0000 (2008-09-11) |
parents | |
children | e6114fcaafb8 |
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" |
domcox@1356 | 8 SOURCE="libedit-20080712" |
domcox@1356 | 9 WANTED="libedit" |
domcox@1356 | 10 |
domcox@1356 | 11 # Rules to gen a SliTaz package suitable for Tazpkg. |
domcox@1356 | 12 genpkg_rules() |
domcox@1356 | 13 { |
domcox@1356 | 14 src=$WOK/$WANTED/$SOURCE-$VERSION |
domcox@1356 | 15 _pkg=$src/_pkg |
domcox@1356 | 16 echo "src=$src" |
domcox@1356 | 17 mkdir -p $fs/usr $fs/usr/lib |
domcox@1356 | 18 cp -a $_pkg/usr/include $fs/usr |
domcox@1356 | 19 cp -a $_pkg/usr/lib/*a $fs/usr/lib |
domcox@1356 | 20 cp -a $_pkg//usr/lib/pkgconfig $fs/usr/lib |
domcox@1356 | 21 } |
domcox@1356 | 22 |
domcox@1356 | 23 post_remove() |
domcox@1356 | 24 { |
domcox@1356 | 25 rm -rf /usr/lib/pkgconfig |
domcox@1356 | 26 rm -rf /usr/include/editline |
domcox@1356 | 27 } |