wok view sawman/receipt @ rev 18475
Up tazpkg-test(845): fix installing to "non directory"
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Oct 06 15:50:16 2015 +0300 (2015-10-06) |
parents | |
children | b7f1bd1b9ac7 |
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 # Rules to configure and make the package.
19 compile_rules()
20 {
21 ./configure \
22 $CONFIGURE_ARGS &&
23 make && make install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/lib
30 cp -a $install/usr/bin $fs/usr
31 cp -a $install/usr/lib/*.so* $fs/usr/lib
32 cp -a $install/usr/lib/directfb-* $fs/usr/lib
33 find $fs/usr/lib -name "*.*a" -exec rm '{}' \;
34 }
36 testsuite()
37 {
38 readelf -h $install/usr/bin/testman
39 }