wok annotate lite/receipt @ rev 25625
Add opendkim (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Nov 08 17:14:09 2023 +0000 (12 months ago) |
parents | 544e47246b33 |
children | d32586bf7d69 |
rev | line source |
---|---|
pankso@15998 | 1 # SliTaz package receipt. |
pankso@15998 | 2 |
pankso@15998 | 3 PACKAGE="lite" |
pankso@15998 | 4 VERSION="0.8.10" |
pankso@15998 | 5 CATEGORY="graphics" |
pankso@15998 | 6 SHORT_DESC="LiTE is a Toolkit Engine using DirectFB" |
pankso@15998 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@15998 | 8 LICENSE="GPL2" |
pankso@15998 | 9 SOURCE="LiTE" |
pankso@15998 | 10 TARBALL="${SOURCE}-${VERSION}.tar.gz" |
pankso@15998 | 11 WEB_SITE="http://www.directfb.org/index.php?path=Platform/LiTE" |
pankso@15998 | 12 WGET_URL="http://www.directfb.org/downloads/Libs/$TARBALL" |
pankso@15998 | 13 HOST_ARCH="i486 arm" |
pankso@15998 | 14 |
pankso@15998 | 15 DEPENDS="directfb" |
pankso@15998 | 16 BUILD_DEPENDS="directfb-dev" |
pankso@15998 | 17 |
pankso@15998 | 18 # Handle cross compilation. |
pankso@15998 | 19 case "$ARCH" in |
pankso@15998 | 20 arm) |
pascal@17670 | 21 export LDFLAGS="$LDFLAGS -L/cross/arm/sysroot/usr/lib" |
pascal@17670 | 22 export CPPFLAGS="$CPPFLAGS -I/cross/arm/sysroot/usr/include/directfb" ;; |
pankso@15998 | 23 esac |
pankso@15998 | 24 |
pascal@24540 | 25 # What is the latest version available today? |
pascal@24540 | 26 current_version() |
pascal@24540 | 27 { |
pascal@24540 | 28 wget -O - https://github.com/rxi/lite/releases 2>/dev/null | \ |
pascal@25600 | 29 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q' |
pascal@24540 | 30 } |
pascal@24540 | 31 |
pankso@15998 | 32 # Rules to configure and make the package. |
pankso@15998 | 33 compile_rules() |
pankso@15998 | 34 { |
pankso@15998 | 35 patch -Np1 -i ${stuff}/lite_fix_stat_naming.patch || return 1 |
pankso@15998 | 36 patch -Np1 -i ${stuff}/lite_fix_pkgconfig.patch || return 1 |
pankso@15998 | 37 ./configure \ |
pankso@15998 | 38 $CONFIGURE_ARGS && |
pankso@15998 | 39 make && make install |
pankso@15998 | 40 } |
pankso@15998 | 41 |
pankso@15998 | 42 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@15998 | 43 genpkg_rules() |
pankso@15998 | 44 { |
pankso@15998 | 45 mkdir -p $fs/usr/lib |
pankso@15998 | 46 cp -a $install/usr/bin $fs/usr |
pankso@15998 | 47 cp -a $install/usr/share $fs/usr |
pankso@15998 | 48 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pankso@15998 | 49 } |