wok-next view dfbterm/receipt @ rev 18642

Up tazpkg(878)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Nov 30 02:28:21 2015 +0200 (2015-11-30)
parents
children c4e53a39395a
line source
1 # SliTaz package receipt.
3 PACKAGE="dfbterm"
4 VERSION="0.8.15"
5 CATEGORY="graphics"
6 SHORT_DESC="DirectFB Terminal emulator."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 SOURCE="DFBTerm"
10 TARBALL="${SOURCE}-${VERSION}.tar.gz"
11 WEB_SITE="http://www.directfb.org/index.php?path=Projects/DFBTerm"
12 WGET_URL="http://www.directfb.org/downloads/Programs/$TARBALL"
13 HOST_ARCH="i486 arm"
15 DEPENDS="directfb lite freetype"
16 BUILD_DEPENDS="directfb-dev lite-dev freetype-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/sbin $fs/usr
32 }
34 # Make sur it as cross compile properly
35 testsuite()
36 {
37 readelf -h $install/usr/bin/$PACKAGE
38 }