wok-6.x annotate magnifier/receipt @ rev 13160
slitaz-boot-scripts: use chroot in post_install
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jul 25 18:28:25 2012 +0200 (2012-07-25) |
parents | cde7fa93f1d6 |
children | ee5c8b018b62 |
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 |
paul@1157 | 20 ./install.sh DESTDIR=$PWD/_pkg 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 |
paul@1157 | 27 cp -a $_pkg/usr/bin $fs/usr |
paul@1157 | 28 cp -a $_pkg/usr/share $fs/usr |
paul@1157 | 29 cp $_pkg/usr/share/magnifier/icon3.ico $fs/usr/share/pixmaps/icon3.png |
paul@1157 | 30 } |
paul@1157 | 31 |