wok-next annotate magnifier/receipt @ rev 20762
Add leanify
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Jun 05 17:27:09 2018 +0300 (2018-06-05) |
parents | 8873e661671a |
children | f48456621a9d |
rev | line source |
---|---|
paul@1157 | 1 # SliTaz package receipt. |
paul@1157 | 2 |
paul@1157 | 3 PACKAGE="magnifier" |
paul@17291 | 4 VERSION="3.5" |
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 |