wok-current annotate fox/receipt @ rev 24906

updated minidlna (1.2.1 -> 1.3.0)
author Hans-G?nter Theisgen
date Sat Apr 09 14:37:52 2022 +0100 (2022-04-09)
parents 7c20aa9c57d9
children 41a539cfe5f8
rev   line source
pankso@2779 1 # SliTaz package receipt.
pankso@2779 2
pankso@2779 3 PACKAGE="fox"
Hans-G?nter@22770 4 VERSION="1.6.57"
pankso@2779 5 CATEGORY="x-window"
pankso@2779 6 SHORT_DESC="Fox toolkit."
pankso@2779 7 MAINTAINER="pankso@slitaz.org"
pascal@14996 8 LICENSE="LGPL2.1"
Hans-G?nter@22770 9 WEB_SITE="http://www.fox-toolkit.org/"
Hans-G?nter@22770 10
pankso@2779 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@22771 12 WGET_URL="ftp://ftp.fox-toolkit.org/pub/$TARBALL"
pankso@2779 13
pankso@16085 14 SUGGESTED="adie calculator pathfinder shutterbug"
Hans-G?nter@22770 15 DEPENDS="bzlib jbigkit jpeg libdrm libglu-mesa libpng mesa tiff
Hans-G?nter@22770 16 xorg-libXcursor xorg-libXdamage xorg-libXft xorg-libXrandr
Hans-G?nter@22770 17 xorg-libXxf86vm"
Hans-G?nter@22770 18 BUILD_DEPENDS="expat-dev fontconfig-dev freetype-dev jpeg-dev
Hans-G?nter@22770 19 libglu-mesa-dev libpng-dev libxml2-dev mesa-dev
Hans-G?nter@22770 20 tiff-dev xorg-libXft-dev"
Hans-G?nter@22770 21
Hans-G?nter@22770 22 HOST_ARCH="i486 arm"
pascal@13796 23
pankso@16085 24 # Handle SliTaz arch.
pankso@16085 25 case "$SLITAZ_ARCH" in
pankso@16085 26 arm) BUILD_DEPENDS="libjpeg libpng tiff xorg-libXft" ;;
pankso@16085 27 esac
pankso@16085 28
pankso@16085 29 # Handle cross compilation.
pankso@16085 30 case "$ARCH" in
pankso@16085 31 arm)
pankso@16085 32 BUILD_DEPENDS="jpeg-dev libpng-dev tiff-dev xorg-libXft-dev"
pankso@16085 33 ARCH_ARGS="--with-opengl=no" ;;
pankso@16085 34 esac
pankso@16085 35
pascal@24439 36 # What is the latest version available today?
pascal@24439 37 current_version()
pascal@24439 38 {
pascal@24439 39 wget -O - ${WEB_SITE}/download.html 2>/dev/null | \
pascal@24439 40 sed '/fox-[0-9]/!d;/tar/!d;s|.*fox-||;s|.tar.*||' | sort -Vr | sed q
pascal@24439 41 }
pascal@24439 42
pankso@2779 43 # Rules to configure and make the package.
pankso@2779 44 compile_rules()
pankso@2779 45 {
Hans-G?nter@22770 46 ./configure \
Hans-G?nter@22770 47 --prefix=/usr \
Hans-G?nter@22770 48 --mandir=/usr/share/man \
Hans-G?nter@22770 49 --with-xft \
Hans-G?nter@22770 50 $CONFIGURE_ARGS \
Hans-G?nter@22770 51 $ARCH_ARGS &&
gokhlayeh@11574 52 make $MAKEFLAGS &&
pascal@13812 53 make DESTDIR=$DESTDIR install
pankso@2779 54 }
pankso@2779 55
Hans-G?nter@22770 56 testsuite()
Hans-G?nter@22770 57 {
pankso@16085 58 readelf -h $install/usr/bin/adie || exit 1
pankso@16085 59 }
pankso@16085 60
pankso@2779 61 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@2779 62 genpkg_rules()
pankso@2779 63 {
pankso@2779 64 mkdir -p $fs/usr/lib
Hans-G?nter@22770 65 cp -a $install/usr/lib/*.so* $fs/usr/lib
pankso@2779 66 }