wok view imlib2/receipt @ rev 432

lxpanel: do not write into /usr
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Mar 14 13:29:29 2008 +0000 (2008-03-14)
parents
children 6a6ba65f2ad7
line source
1 # SliTaz package receipt.
3 PACKAGE="imlib2"
4 VERSION="1.4.0"
5 CATEGORY="graphics"
6 SHORT_DESC="Imlib graphic library."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="libpng tiff jpeg xorg-libXpm"
9 BUILD_DEPENDS="libpng-dev tiff-dev jpeg-dev xorg-libXpm-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://sourceforge.net/projects/enlightenment/"
12 WGET_URL="$SF_MIRROR/enlightenment/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure \
19 --prefix=/usr \
20 --infodir=/usr/share/info \
21 --mandir=/usr/share/man \
22 $CONFIGURE_ARGS
23 make
24 make DESTDIR=$PWD/_pkg install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/lib/imlib2 $fs/usr/bin
32 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
33 mkdir -p $fs/usr/lib/imlib2/filters
34 cp -a $_pkg/usr/lib/imlib2/filters/*.so* $fs/usr/lib/imlib2/filters
35 mkdir -p $fs/usr/lib/imlib2/loaders
36 cp -a $_pkg/usr/lib/imlib2/loaders/*.so* $fs/usr/lib/imlib2/loaders
38 cp -a $_pkg/usr/bin/imlib2_* $fs/usr/bin
39 }