wok annotate imlib2/receipt @ rev 24857

updated links and links-dfb (2.20.2 -> 2.25)
author Hans-G?nter Theisgen
date Mon Mar 28 17:04:25 2022 +0100 (2022-03-28)
parents ba7cbdb5749c
children 00bff3684d8a
rev   line source
pankso@358 1 # SliTaz package receipt.
pankso@358 2
pankso@358 3 PACKAGE="imlib2"
Hans-G?nter@24664 4 VERSION="1.8.0"
pankso@358 5 CATEGORY="graphics"
pankso@358 6 SHORT_DESC="Imlib graphic library."
pankso@358 7 MAINTAINER="pankso@slitaz.org"
pascal@15215 8 LICENSE="GPL LGPL2"
Hans-G?nter@21047 9 WEB_SITE="https://sourceforge.net/projects/enlightenment/"
Hans-G?nter@21047 10
pankso@13563 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@13563 12 WGET_URL="$SF_MIRROR/enlightenment/$TARBALL"
Hans-G?nter@21047 13
Hans-G?nter@24664 14 DEPENDS="bzlib freetype giflib jpeg libid3tag libpng tiff
Hans-G?nter@24664 15 xorg-libICE xorg-libSM xorg-libX11 xorg-libXau
Hans-G?nter@21047 16 xorg-libXdmcp xorg-libXext xorg-libXpm"
Hans-G?nter@24664 17 BUILD_DEPENDS="bzip2-dev freetype-dev giflib-dev jpeg-dev
Hans-G?nter@24664 18 libid3tag-dev libpng-dev pkg-config tiff-dev
Hans-G?nter@24664 19 util-linux-uuid-dev xorg-libXpm-dev xorg-xextproto
Hans-G?nter@21047 20 zlib-dev"
Hans-G?nter@21047 21
pankso@16067 22 HOST_ARCH="i486 arm"
pankso@16067 23 # ARM: jpeg-dev must be installed in build chroot and libjpeg.la must
pankso@16067 24 # be modified manually
pankso@358 25
pascal@24412 26 # What is the latest version available today?
pascal@24412 27 current_version()
pascal@24412 28 {
pascal@24412 29 wget -O - https://sourceforge.net/projects/enlightenment/files/imlib2-src/ 2>/dev/null | \
pascal@24412 30 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
pascal@24412 31 sed '/scope="row/!d;s|.*/imlib2-src/||;s|/.*||;q'
pascal@24412 32 }
pascal@24412 33
pankso@358 34 # Rules to configure and make the package.
pankso@358 35 compile_rules()
pankso@358 36 {
Hans-G?nter@21047 37 ./configure \
Hans-G?nter@21047 38 --prefix=/usr \
Hans-G?nter@21047 39 --infodir=/usr/share/info \
Hans-G?nter@21047 40 --mandir=/usr/share/man \
Hans-G?nter@21047 41 --with-x \
pascal@1480 42 $CONFIGURE_ARGS &&
Hans-G?nter@24664 43 make &&
Hans-G?nter@21047 44 make install
Hans-G?nter@21047 45
Hans-G?nter@24664 46 # 1.8.0 not created
Hans-G?nter@24664 47 # sed -i 's| @my_libs@||' $install/usr/bin/imlib2-config
pankso@358 48 }
pankso@358 49
pankso@358 50 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@358 51 genpkg_rules()
pankso@358 52 {
Hans-G?nter@22947 53 mkdir -p $fs/usr/bin
Hans-G?nter@22947 54 mkdir -p $fs/usr/lib/imlib2/filters
Hans-G?nter@22947 55 mkdir -p $fs/usr/lib/imlib2/loaders
Hans-G?nter@21047 56
Hans-G?nter@21047 57 cp -a $install/usr/lib/*.so* $fs/usr/lib
pankso@13563 58 cp -a $install/usr/lib/imlib2/filters/*.so* \
Hans-G?nter@22947 59 $fs/usr/lib/imlib2/filters
pankso@13563 60 cp -a $install/usr/lib/imlib2/loaders/*.so* \
Hans-G?nter@22947 61 $fs/usr/lib/imlib2/loaders
Hans-G?nter@21047 62 cp -a $install/usr/bin/imlib2_* $fs/usr/bin
Hans-G?nter@21047 63 }