wok view dfbterm/receipt @ rev 24445
Add some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Feb 14 14:14:23 2022 +0000 (2022-02-14) |
parents | |
children | b9659e3c2111 |
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 }