wok-current annotate dfbterm/receipt @ rev 25109

Up perl-date-manip (6.88)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jun 25 09:21:55 2022 +0000 (2022-06-25)
parents 9fdf99385a95
children
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
pascal@24545 18 # What is the latest version available today?
pascal@24545 19 current_version()
pascal@24545 20 {
pascal@24545 21 wget -O - https://github.com/pld-linux/DFBTerm/tags 2>/dev/null | \
pascal@24545 22 sed '/archive.*tar/!d;s|.*/DFBTerm-\(.*\).tar.*|\1|;q'
pascal@24545 23 }
pascal@24545 24
pankso@16001 25 # Rules to configure and make the package.
pankso@16001 26 compile_rules()
pankso@16001 27 {
pankso@16001 28 ./configure \
pankso@16001 29 $CONFIGURE_ARGS &&
pankso@16001 30 make && make install
pankso@16001 31 }
pankso@16001 32
pankso@16001 33 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@16001 34 genpkg_rules()
pankso@16001 35 {
pankso@16001 36 mkdir -p $fs/usr/lib
pankso@16001 37 cp -a $install/usr/bin $fs/usr
pankso@16001 38 cp -a $install/usr/sbin $fs/usr
pankso@16001 39 }
pankso@16001 40
pankso@16001 41 # Make sur it as cross compile properly
pankso@16001 42 testsuite()
pankso@16001 43 {
pankso@16001 44 readelf -h $install/usr/bin/$PACKAGE
pankso@16001 45 }