wok-current annotate sawman/receipt @ rev 25288

libQt5Plugins: removed dependency libQt3Support
author Hans-G?nter Theisgen
date Tue Jul 19 07:28:24 2022 +0100 (2022-07-19)
parents 0fa6869e0b4b
children
rev   line source
pankso@15999 1 # SliTaz package receipt.
pankso@15999 2
pankso@15999 3 PACKAGE="sawman"
pankso@15999 4 VERSION="1.4.3"
pankso@15999 5 CATEGORY="graphics"
pankso@15999 6 SHORT_DESC="DirectFB Window manager"
pankso@15999 7 MAINTAINER="pankso@slitaz.org"
pankso@15999 8 LICENSE="GPL2"
pankso@15999 9 SOURCE="SaWMan"
pankso@15999 10 TARBALL="${SOURCE}-${VERSION}.tar.gz"
pankso@15999 11 WEB_SITE="http://directfb.org/index.php?path=Platform/SaWMan"
pankso@15999 12 WGET_URL="http://directfb.org/downloads/Extras/$TARBALL"
pankso@15999 13 HOST_ARCH="i486 arm"
pankso@15999 14
pankso@15999 15 DEPENDS="directfb"
pankso@15999 16 BUILD_DEPENDS="directfb-dev"
pankso@15999 17
pascal@24713 18 # What is the latest version available today?
pascal@24713 19 current_version()
pascal@24713 20 {
pascal@24713 21 wget -O - https://github.com/schenkmi/DirectFB/tags 2>/dev/null | \
pascal@24713 22 sed '/archive.*tar/!d;s|.*/[A-Z_]*\(.*\).tar.*|\1|;s|_|.|g;q'
pascal@24713 23 }
pascal@24713 24
pankso@15999 25 # Rules to configure and make the package.
pankso@15999 26 compile_rules()
pankso@15999 27 {
pankso@15999 28 ./configure \
pankso@15999 29 $CONFIGURE_ARGS &&
pankso@15999 30 make && make install
pankso@15999 31 }
pankso@15999 32
pankso@15999 33 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@15999 34 genpkg_rules()
pankso@15999 35 {
pankso@15999 36 mkdir -p $fs/usr/lib
pankso@15999 37 cp -a $install/usr/bin $fs/usr
pankso@15999 38 cp -a $install/usr/lib/*.so* $fs/usr/lib
pankso@15999 39 cp -a $install/usr/lib/directfb-* $fs/usr/lib
pankso@15999 40 find $fs/usr/lib -name "*.*a" -exec rm '{}' \;
pankso@15999 41 }
pankso@15999 42
pankso@15999 43 testsuite()
pankso@15999 44 {
pankso@15999 45 readelf -h $install/usr/bin/testman
pankso@15999 46 }