wok annotate imlib2/receipt @ rev 23625

gnaughty: update genpkg_rules
author Richard Dunbar <mojo@slitaz.org>
date Wed Apr 15 09:37:15 2020 -0400 (2020-04-15)
parents 24e3f19fa20a
children ba7cbdb5749c
rev   line source
pankso@358 1 # SliTaz package receipt.
pankso@358 2
pankso@358 3 PACKAGE="imlib2"
Hans-G?nter@22947 4 VERSION="1.6.1"
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@22947 14 DEPENDS="bzlib freetype giflib jpeg libid3tag libpng tiff \
Hans-G?nter@21047 15 xorg-libICE xorg-libSM xorg-libX11 xorg-libXau \
Hans-G?nter@21047 16 xorg-libXdmcp xorg-libXext xorg-libXpm"
Hans-G?nter@22948 17 BUILD_DEPENDS="bzip2-dev freetype-dev gcc83 giflib-dev jpeg-dev \
Hans-G?nter@21047 18 libid3tag-dev libpng-dev pkg-config tiff-dev \
Hans-G?nter@21047 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
pankso@358 26 # Rules to configure and make the package.
pankso@358 27 compile_rules()
pankso@358 28 {
Hans-G?nter@21047 29 ./configure \
Hans-G?nter@21047 30 --prefix=/usr \
Hans-G?nter@21047 31 --infodir=/usr/share/info \
Hans-G?nter@21047 32 --mandir=/usr/share/man \
Hans-G?nter@21047 33 --with-x \
pascal@1480 34 $CONFIGURE_ARGS &&
Hans-G?nter@21047 35 make -j 1 &&
Hans-G?nter@21047 36 make install
Hans-G?nter@21047 37
al@17507 38 sed -i 's| @my_libs@||' $install/usr/bin/imlib2-config
pankso@358 39 }
pankso@358 40
pankso@358 41 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@358 42 genpkg_rules()
pankso@358 43 {
Hans-G?nter@22947 44 mkdir -p $fs/usr/bin
Hans-G?nter@22947 45 mkdir -p $fs/usr/lib/imlib2/filters
Hans-G?nter@22947 46 mkdir -p $fs/usr/lib/imlib2/loaders
Hans-G?nter@21047 47
Hans-G?nter@21047 48 cp -a $install/usr/lib/*.so* $fs/usr/lib
pankso@13563 49 cp -a $install/usr/lib/imlib2/filters/*.so* \
Hans-G?nter@22947 50 $fs/usr/lib/imlib2/filters
pankso@13563 51 cp -a $install/usr/lib/imlib2/loaders/*.so* \
Hans-G?nter@22947 52 $fs/usr/lib/imlib2/loaders
Hans-G?nter@21047 53 cp -a $install/usr/bin/imlib2_* $fs/usr/bin
Hans-G?nter@21047 54 }