wok-current annotate tazweb-legacy/receipt @ rev 25701

Fix dep for libglamoregl.so (libepoxy), and miss file for amdgpu (thanks alanyih)
author Stanislas Leduc <shann@slitaz.org>
date Fri Apr 19 12:48:51 2024 +0000 (6 months ago)
parents
children
rev   line source
shann@25634 1 # SliTaz package receipt.
shann@25634 2
shann@25634 3 PACKAGE="tazweb-legacy"
shann@25634 4 VERSION="209"
shann@25634 5 CATEGORY="network"
shann@25634 6 TAGS="web-browser"
shann@25634 7 SHORT_DESC="SliTaz simple, fast and small Web Browser Legacy."
shann@25634 8 MAINTAINER="pankso@slitaz.org"
shann@25634 9 LICENSE="BSD"
shann@25634 10 WEB_SITE="http://www.slitaz.org/"
shann@25634 11
shann@25634 12 TARBALL="tazweb-$VERSION.tar.gz"
shann@25634 13 WGET_URL="http://hg.slitaz.org/tazweb/archive/$VERSION.tar.gz"
shann@25634 14
shann@25634 15 DEPENDS="libwebkit libsoup"
shann@25634 16 BUILD_DEPENDS="glib-dev gtk+-dev libsoup248-dev libwebkit-dev \
shann@25634 17 libidn-dev libxslt-dev"
shann@25634 18 HOST_ARCH="i486 arm"
shann@25634 19
shann@25634 20 current_version()
shann@25634 21 {
shann@25634 22 wget -O - http://hg.slitaz.org/$PACKAGE/ 2>/dev/null | \
shann@25634 23 sed '/^Changeset/!d;s|.*">|http://hg.slitaz.org/'$PACKAGE'/rev/|;s|<.*||' | \
shann@25634 24 xargs wget -O - 2>/dev/null | sed '/rev /!d;s|.*rev ||;s| .*||'
shann@25634 25 }
shann@25634 26
shann@25634 27 # Rules to configure and make the package.
shann@25634 28 compile_rules()
shann@25634 29 {
shann@25634 30 export PKG_CONFIG_PATH="/usr/lib/pkgconfig:/usr/lib/libsoup248/pkgconfig"
shann@25634 31 patch -p1 < $stuff/build_libwebkit.patch
shann@25634 32 make -j 1 &&
shann@25634 33 make DESTDIR=$install install
shann@25634 34 }
shann@25634 35
shann@25634 36 # Cross compilation check
shann@25634 37 testsuite() {
shann@25634 38 readelf -h $install/usr/bin/tazweb
shann@25634 39 }
shann@25634 40
shann@25634 41 # Rules to gen a SliTaz package suitable for Tazpkg.
shann@25634 42 genpkg_rules()
shann@25634 43 {
shann@25634 44 mkdir -p $fs/usr/bin
shann@25634 45 cp -a $install/usr/bin/tazweb $fs/usr/bin/tazweb-legacy
shann@25634 46 }
shann@25634 47
shann@25634 48 #post_install()
shann@25634 49 #{
shann@25634 50 # sed -i "s|content: \"20..\"|content: \"$(date +%Y)\"|" \
shann@25634 51 # $1/usr/share/doc/tazweb/style.css
shann@25634 52 #}