wok-next view libwebkit-dev/receipt @ rev 15168

nethack: fix compile_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Aug 15 23:11:23 2013 +0000 (2013-08-15)
parents 78dc4484009c
children 8d6f480bf664
line source
1 # SliTaz package receipt.
3 PACKAGE="libwebkit-dev"
4 VERSION="1.8.3"
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 ] &&
21 cp -a $_pkg/usr/share/gir-1.0 $fs/usr/share
22 if [ -f $fs/usr/lib/pkgconfig/webkit-1.0.pc ]; then
23 ln -sf /usr/lib/pkgconfig/webkit-1.0.pc \
24 $fs/usr/lib/pkgconfig/webkitgtk-1.0.pc
25 fi
26 }