wok annotate libwebkit-dev/receipt @ rev 18743

linux*zram: add CONFIG_FILES
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Dec 25 17:07:16 2015 +0100 (2015-12-25)
parents e62fe73c97ae
children 6e8b1bcb30e2
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"
mallory@3146 11 WEB_SITE="http://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 }