wok view sawman/receipt @ rev 25503

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