wok-next view libwebkit-dev/receipt @ rev 11380
Improvement: libwebkit doesn't need -j1 to compile anymore
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Sat Dec 10 03:55:28 2011 +0100 (2011-12-10) |
parents | 53a227ffd1c4 |
children | 78dc4484009c |
line source
1 # SliTaz package receipt.
3 PACKAGE="libwebkit-dev"
4 VERSION="1.6.1"
5 CATEGORY="development"
6 SHORT_DESC="devel files for libwebkit"
7 DEPENDS="libwebkit libsoup-dev enchant-dev libtasn1-dev sqlite-dev"
8 SOURCE="webkit"
9 WANTED="libwebkit"
10 MAINTAINER="mallory@sweetpeople.org"
11 WEB_SITE="http://webkitgtk.org"
13 # Rules to gen a SliTaz package suitable for Tazpkg.
14 genpkg_rules()
15 {
16 mkdir -p $fs/usr/lib $fs/usr/share
17 cp -a $_pkg/usr/lib/*.*a $fs/usr/lib
18 cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib
19 cp -a $_pkg/usr/include $fs/usr
20 [ -d $_pkg/usr/share/gir-1.0 ] && cp -a $_pkg/usr/share/gir-1.0 $fs/usr/share
21 if [ -f $fs/usr/lib/pkgconfig/webkit-1.0.pc ]; then
22 ln -sf /usr/lib/pkgconfig/webkit-1.0.pc $fs/usr/lib/pkgconfig/webkitgtk-1.0.pc
23 fi
24 }