wok annotate magnifier/receipt @ rev 15603

Use install instead of _pkg
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Dec 06 10:39:07 2013 +0000 (2013-12-06)
parents ee5c8b018b62
children 8873e661671a
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@2464 8 DEPENDS="expat gtk+ xorg-libX11 xorg-libXau xorg-libXcomposite \
pascal@2464 9 xorg-libXcursor xorg-libXdmcp xorg-libXext xorg-libXfixes xorg-libXinerama \
pascal@2608 10 xorg-libXrandr xorg-libXrender xorg-libXdamage"
paul@1157 11 SOURCE="magnifier-linux"
paul@1157 12 TARBALL="$SOURCE-$VERSION.tar.bz2"
paul@1157 13 WEB_SITE="http://magnifier.sourceforge.net/"
paul@1157 14 WGET_URL="http://downloads.sourceforge.net/magnifier/$TARBALL"
paul@1157 15
paul@1157 16 # Rules to configure and make the package.
paul@1157 17 compile_rules()
paul@1157 18 {
paul@1157 19 cd $src
pascal@15602 20 ./install.sh DESTDIR=$DESTDIR install
paul@1157 21 }
paul@1157 22
paul@1157 23 # Rules to gen a SliTaz package suitable for Tazpkg.
paul@1157 24 genpkg_rules()
paul@1157 25 {
paul@1157 26 mkdir -p $fs/usr/share/pixmaps
pascal@15603 27 cp -a $install/usr/bin $fs/usr
pascal@15603 28 cp -a $install/usr/share $fs/usr
pascal@15603 29 cp $install/usr/share/magnifier/icon3.ico $fs/usr/share/pixmaps/icon3.png
paul@1157 30 }
paul@1157 31