wok view libwebkit-dev/receipt @ rev 25364

cpige: apply gibor patch
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jul 28 14:38:50 2022 +0000 (2022-07-28)
parents 7f9d5eb37924
children
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="https://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 }