wok view magnifier/receipt @ rev 15602

Use DESTDIR
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Dec 05 20:42:36 2013 +0000 (2013-12-05)
parents e97c81ccdba0
children 051931e905b0
line source
1 # SliTaz package receipt.
3 PACKAGE="magnifier"
4 VERSION="3.3.1"
5 CATEGORY="utilities"
6 SHORT_DESC="Virtual magnifying glass"
7 MAINTAINER="paul@slitaz.org"
8 DEPENDS="expat gtk+ xorg-libX11 xorg-libXau xorg-libXcomposite \
9 xorg-libXcursor xorg-libXdmcp xorg-libXext xorg-libXfixes xorg-libXinerama \
10 xorg-libXrandr xorg-libXrender xorg-libXdamage"
11 SOURCE="magnifier-linux"
12 TARBALL="$SOURCE-$VERSION.tar.bz2"
13 WEB_SITE="http://magnifier.sourceforge.net/"
14 WGET_URL="http://downloads.sourceforge.net/magnifier/$TARBALL"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./install.sh DESTDIR=$DESTDIR install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr/share/pixmaps
27 cp -a $_pkg/usr/bin $fs/usr
28 cp -a $_pkg/usr/share $fs/usr
29 cp $_pkg/usr/share/magnifier/icon3.ico $fs/usr/share/pixmaps/icon3.png
30 }