wok-current annotate libwebkit-dev/receipt @ rev 25054

Up quarry (0.3.0.1), sunxi-tools (1.4.2)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jun 06 08:51:13 2022 +0000 (2022-06-06)
parents 7f9d5eb37924
children 3ad63c8fc2f9
rev   line source
mallory@3146 1 # SliTaz package receipt.
mallory@3146 2
mallory@3146 3 PACKAGE="libwebkit-dev"
domcox@14106 4 VERSION="1.8.3"
slaxemulator@11247 5 CATEGORY="development"
slaxemulator@11247 6 SHORT_DESC="devel files for libwebkit"
slaxemulator@8530 7 SOURCE="webkit"
mallory@3146 8 WANTED="libwebkit"
mallory@3146 9 MAINTAINER="mallory@sweetpeople.org"
pascal@15482 10 LICENSE="LGPL2"
pascal@20671 11 WEB_SITE="https://webkitgtk.org"
pankso@16258 12 HOST_ARCH="i486 arm"
mallory@3146 13
pankso@16258 14 DEPENDS="libwebkit libsoup-dev enchant-dev libtasn1-dev sqlite-dev"
pascal@15482 15
mallory@3146 16 # Rules to gen a SliTaz package suitable for Tazpkg.
mallory@3146 17 genpkg_rules()
mallory@3146 18 {
slaxemulator@6687 19 mkdir -p $fs/usr/lib $fs/usr/share
pascal@15482 20 cp -a $install/usr/lib/*.*a $fs/usr/lib
pankso@16258 21 # ARM: no pkg-config, include or gir files
pankso@16258 22 case "$ARCH" in
pankso@16258 23 i?86)
pankso@16258 24 cp -a $install/usr/lib/pkgconfig $fs/usr/lib
pankso@16258 25 cp -a $install/usr/include $fs/usr
pascal@16287 26 cp -a $install/usr/share/webkitgtk-1.0 $fs/usr/share
pankso@16258 27 # webkitgtk-1.0.pc
pankso@16258 28 if [ -f $fs/usr/lib/pkgconfig/webkit-1.0.pc ]; then
pankso@16258 29 ln -sf /usr/lib/pkgconfig/webkit-1.0.pc \
pankso@16258 30 $fs/usr/lib/pkgconfig/webkitgtk-1.0.pc
pankso@16258 31 fi ;;
pankso@16258 32 esac
mallory@3146 33 }