wok-next view sawman/receipt @ rev 20459

Combine receipts
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Mar 02 13:45:43 2018 +0200 (2018-03-02)
parents 0fa6869e0b4b
children 10df65db91ad
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"
14 DEPENDS="directfb"
15 BUILD_DEPENDS="directfb-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 ./configure \
21 $CONFIGURE_ARGS &&
22 make && make install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/lib
29 cp -a $install/usr/bin $fs/usr
30 cp -a $install/usr/lib/*.so* $fs/usr/lib
31 cp -a $install/usr/lib/directfb-* $fs/usr/lib
32 find $fs/usr/lib -name "*.*a" -exec rm '{}' \;
33 }
35 testsuite()
36 {
37 readelf -h $install/usr/bin/testman
38 }