wok annotate imlib2/receipt @ rev 21415
updated make (4.1 -> 4.2.1)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Apr 23 17:28:22 2019 +0100 (2019-04-23) |
parents | 86790a278e70 |
children | 24e3f19fa20a |
rev | line source |
---|---|
pankso@358 | 1 # SliTaz package receipt. |
pankso@358 | 2 |
pankso@358 | 3 PACKAGE="imlib2" |
Hans-G?nter@21047 | 4 VERSION="1.5.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@21047 | 14 DEPENDS="bzlib jpeg freetype giflib 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@21047 | 17 BUILD_DEPENDS="bzip2-dev freetype-dev 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@21047 | 44 mkdir -p \ |
Hans-G?nter@21047 | 45 $fs/usr/bin \ |
Hans-G?nter@21047 | 46 $fs/usr/lib/imlib2/filters \ |
pankso@13563 | 47 $fs/usr/lib/imlib2/loaders |
Hans-G?nter@21047 | 48 |
Hans-G?nter@21047 | 49 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pankso@13563 | 50 cp -a $install/usr/lib/imlib2/filters/*.so* \ |
pankso@13563 | 51 $fs/usr/lib/imlib2/filters |
pankso@13563 | 52 cp -a $install/usr/lib/imlib2/loaders/*.so* \ |
pankso@13563 | 53 $fs/usr/lib/imlib2/loaders |
Hans-G?nter@21047 | 54 cp -a $install/usr/bin/imlib2_* $fs/usr/bin |
Hans-G?nter@21047 | 55 } |