wok annotate dfbterm/receipt @ rev 19926
postfix: dirty fix
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Apr 21 10:31:31 2017 +0200 (2017-04-21) |
parents | |
children | b9659e3c2111 |
rev | line source |
---|---|
pankso@16001 | 1 # SliTaz package receipt. |
pankso@16001 | 2 |
pankso@16001 | 3 PACKAGE="dfbterm" |
pankso@16001 | 4 VERSION="0.8.15" |
pankso@16001 | 5 CATEGORY="graphics" |
pankso@16001 | 6 SHORT_DESC="DirectFB Terminal emulator." |
pankso@16001 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@16001 | 8 LICENSE="GPL2" |
pankso@16001 | 9 SOURCE="DFBTerm" |
pankso@16001 | 10 TARBALL="${SOURCE}-${VERSION}.tar.gz" |
pankso@16001 | 11 WEB_SITE="http://www.directfb.org/index.php?path=Projects/DFBTerm" |
pankso@16001 | 12 WGET_URL="http://www.directfb.org/downloads/Programs/$TARBALL" |
pankso@16001 | 13 HOST_ARCH="i486 arm" |
pankso@16001 | 14 |
pankso@16001 | 15 DEPENDS="directfb lite freetype" |
pankso@16001 | 16 BUILD_DEPENDS="directfb-dev lite-dev freetype-dev" |
pankso@16001 | 17 |
pankso@16001 | 18 # Rules to configure and make the package. |
pankso@16001 | 19 compile_rules() |
pankso@16001 | 20 { |
pankso@16001 | 21 ./configure \ |
pankso@16001 | 22 $CONFIGURE_ARGS && |
pankso@16001 | 23 make && make install |
pankso@16001 | 24 } |
pankso@16001 | 25 |
pankso@16001 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@16001 | 27 genpkg_rules() |
pankso@16001 | 28 { |
pankso@16001 | 29 mkdir -p $fs/usr/lib |
pankso@16001 | 30 cp -a $install/usr/bin $fs/usr |
pankso@16001 | 31 cp -a $install/usr/sbin $fs/usr |
pankso@16001 | 32 } |
pankso@16001 | 33 |
pankso@16001 | 34 # Make sur it as cross compile properly |
pankso@16001 | 35 testsuite() |
pankso@16001 | 36 { |
pankso@16001 | 37 readelf -h $install/usr/bin/$PACKAGE |
pankso@16001 | 38 } |