wok-next view libwebkit-dev/receipt @ rev 19687
unshield: _BSD_SOURCE is deprecated
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Apr 10 09:48:32 2017 +0200 (2017-04-10) |
parents | e62fe73c97ae |
children | 2809ecb8c754 |
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 SOURCE="webkit"
8 WANTED="libwebkit"
9 MAINTAINER="mallory@sweetpeople.org"
10 LICENSE="LGPL2"
11 WEB_SITE="http://webkitgtk.org"
12 HOST_ARCH="i486 arm"
14 DEPENDS="libwebkit libsoup-dev enchant-dev libtasn1-dev sqlite-dev"
16 # Rules to gen a SliTaz package suitable for Tazpkg.
17 genpkg_rules()
18 {
19 mkdir -p $fs/usr/lib $fs/usr/share
20 cp -a $install/usr/lib/*.*a $fs/usr/lib
21 # ARM: no pkg-config, include or gir files
22 case "$ARCH" in
23 i?86)
24 cp -a $install/usr/lib/pkgconfig $fs/usr/lib
25 cp -a $install/usr/include $fs/usr
26 cp -a $install/usr/share/webkitgtk-1.0 $fs/usr/share
27 # webkitgtk-1.0.pc
28 if [ -f $fs/usr/lib/pkgconfig/webkit-1.0.pc ]; then
29 ln -sf /usr/lib/pkgconfig/webkit-1.0.pc \
30 $fs/usr/lib/pkgconfig/webkitgtk-1.0.pc
31 fi ;;
32 esac
33 }