wok-6.x annotate magnifier/receipt @ rev 16595
speedcrunch: do not fail when ./build exists
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed May 07 08:07:35 2014 +0000 (2014-05-07) |
parents | 051931e905b0 |
children | 9c5333f3023a |
rev | line source |
---|---|
paul@1157 | 1 # SliTaz package receipt. |
paul@1157 | 2 |
paul@1157 | 3 PACKAGE="magnifier" |
paul@1157 | 4 VERSION="3.3.1" |
paul@1157 | 5 CATEGORY="utilities" |
paul@1157 | 6 SHORT_DESC="Virtual magnifying glass" |
paul@1157 | 7 MAINTAINER="paul@slitaz.org" |
pascal@15610 | 8 LICENSE="GPL2" |
paul@1157 | 9 SOURCE="magnifier-linux" |
paul@1157 | 10 TARBALL="$SOURCE-$VERSION.tar.bz2" |
paul@1157 | 11 WEB_SITE="http://magnifier.sourceforge.net/" |
paul@1157 | 12 WGET_URL="http://downloads.sourceforge.net/magnifier/$TARBALL" |
paul@1157 | 13 |
pascal@15610 | 14 DEPENDS="expat gtk+ xorg-libX11 xorg-libXau xorg-libXcomposite \ |
pascal@15610 | 15 xorg-libXcursor xorg-libXdmcp xorg-libXext xorg-libXfixes xorg-libXinerama \ |
pascal@15610 | 16 xorg-libXrandr xorg-libXrender xorg-libXdamage" |
pascal@15610 | 17 |
paul@1157 | 18 # Rules to configure and make the package. |
paul@1157 | 19 compile_rules() |
paul@1157 | 20 { |
paul@1157 | 21 cd $src |
pascal@15602 | 22 ./install.sh DESTDIR=$DESTDIR install |
paul@1157 | 23 } |
paul@1157 | 24 |
paul@1157 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@1157 | 26 genpkg_rules() |
paul@1157 | 27 { |
paul@1157 | 28 mkdir -p $fs/usr/share/pixmaps |
pascal@15603 | 29 cp -a $install/usr/bin $fs/usr |
pascal@15603 | 30 cp -a $install/usr/share $fs/usr |
pascal@15603 | 31 cp $install/usr/share/magnifier/icon3.ico $fs/usr/share/pixmaps/icon3.png |
paul@1157 | 32 } |
paul@1157 | 33 |