wok view imlib/receipt @ rev 25725

added recipe for xfce4-notifyd-lang
author Hans-G?nter Theisgen
date Sat Aug 17 17:12:02 2024 +0100 (3 months ago)
parents 6831608a1b2a
children
line source
1 # SliTaz package receipt.
3 PACKAGE="imlib"
4 VERSION="1.9.15"
5 CATEGORY="graphics"
6 SHORT_DESC="An advanced replacement imaging library for libraries like libXpm."
7 MAINTAINER="rcx@zoominternet.net"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="https://download.gnome.org/sources/$PACKAGE/"
11 WGET_URL="https://download.gnome.org/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
13 DEPENDS="glibc-base xorg-libICE xorg-libSM xorg-libX11 xorg-libXau xorg-libXdmcp xorg-libXext giflib jpeg libpng tiff zlib util-linux-uuid"
14 BUILD_DEPENDS="slitaz-toolchain xorg-dev xorg-xextproto giflib giflib-dev jpeg jpeg-dev libpng libpng-dev tiff tiff-dev zlib zlib-dev util-linux-uuid-dev"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
20 sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 # Update for giflib >= 5 api
27 patch -p0 < $stuff/giflib5.u
29 ./configure \
30 --prefix=/usr \
31 --sysconfdir=/etc \
32 --infodir=/usr/share/info \
33 --mandir=/usr/share/man \
34 $CONFIGURE_ARGS &&
35 make && make DESTDIR=$DESTDIR install
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs/usr
42 cp -a $install/usr/bin $fs/usr
43 mkdir -p $fs/usr/lib
44 cp -a $install/usr/lib/*.so* $fs/usr/lib
45 mkdir -p $fs/etc
46 cp -a $install/etc $fs
47 }