wok-current annotate sawman/receipt @ rev 21764
fake-sane: add pixma mp150
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jun 27 22:27:24 2019 +0200 (2019-06-27) |
parents | |
children | b7f1bd1b9ac7 |
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 |
pankso@15999 | 18 # Rules to configure and make the package. |
pankso@15999 | 19 compile_rules() |
pankso@15999 | 20 { |
pankso@15999 | 21 ./configure \ |
pankso@15999 | 22 $CONFIGURE_ARGS && |
pankso@15999 | 23 make && make install |
pankso@15999 | 24 } |
pankso@15999 | 25 |
pankso@15999 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@15999 | 27 genpkg_rules() |
pankso@15999 | 28 { |
pankso@15999 | 29 mkdir -p $fs/usr/lib |
pankso@15999 | 30 cp -a $install/usr/bin $fs/usr |
pankso@15999 | 31 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pankso@15999 | 32 cp -a $install/usr/lib/directfb-* $fs/usr/lib |
pankso@15999 | 33 find $fs/usr/lib -name "*.*a" -exec rm '{}' \; |
pankso@15999 | 34 } |
pankso@15999 | 35 |
pankso@15999 | 36 testsuite() |
pankso@15999 | 37 { |
pankso@15999 | 38 readelf -h $install/usr/bin/testman |
pankso@15999 | 39 } |