wok view directfb-examples/receipt @ rev 25165
updated python-caldav (0.6.2 -> 0.8.2)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jul 01 11:05:59 2022 +0100 (2022-07-01) |
parents | 05c8d8d9d934 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="directfb-examples"
4 VERSION="1.7.0"
5 CATEGORY="system-tools"
6 SHORT_DESC="DirectFB examples."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="https://www.directfb.org/"
11 SOURCE="DirectFB-examples"
12 TARBALL="$SOURCE-$VERSION.tar.gz"
13 WGET_URL="http://sources.buildroot.net/$PACKAGE/$TARBALL"
15 DEPENDS="directfb"
16 BUILD_DEPENDS="directfb-dev"
17 HOST_ARCH="i486 arm"
19 # Handle cross compilation.
20 case "$ARCH" in
21 arm)
22 export LDFLAGS="$LDFLAGS -L/cross/arm/sysroot/usr/lib"
23 export CPPFLAGS="$CPPFLAGS -I/cross/arm/sysroot/usr/include/directfb" ;;
24 esac
26 # What is the latest version available today?
27 current_version()
28 {
29 wget -O - ${WGET_URL%/*} 2>/dev/null | \
30 sed "/latest/d;/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-||;s|.tar.*||" | sort -Vr | sed q
31 }
33 # Rules to configure and make the package.
34 compile_rules()
35 {
36 ./configure \
37 --prefix=/usr \
38 $CONFIGURE_ARGS &&
39 make -j 1 &&
40 make -j 1 DESTDIR=$DESTDIR install
41 }
43 # Rules to gen a SliTaz package suitable for Tazpkg.
44 genpkg_rules()
45 {
46 mkdir -p $fs/usr/lib $fs/usr/share
47 cp -a $install/usr/bin $fs/usr
48 cp -a $install/usr/share/directfb-* $fs/usr/share
49 }
51 testsuite()
52 {
53 readelf -h $install/usr/bin/spacedream
54 }