wok view dfbterm/receipt @ rev 25005
updated ntl (11.4.3 -> 11.5.1)
author | Hans-G?nter Theisgen |
---|---|
date | Mon May 16 16:29:07 2022 +0100 (2022-05-16) |
parents | 9fdf99385a95 |
children |
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 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - https://github.com/pld-linux/DFBTerm/tags 2>/dev/null | \
22 sed '/archive.*tar/!d;s|.*/DFBTerm-\(.*\).tar.*|\1|;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 ./configure \
29 $CONFIGURE_ARGS &&
30 make && make install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/lib
37 cp -a $install/usr/bin $fs/usr
38 cp -a $install/usr/sbin $fs/usr
39 }
41 # Make sur it as cross compile properly
42 testsuite()
43 {
44 readelf -h $install/usr/bin/$PACKAGE
45 }