wok view nanoshot/receipt @ rev 14394
imagemagick: update WGET_URL
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Apr 23 13:48:09 2013 +0200 (2013-04-23) |
parents | |
children | 380ffe05937a |
line source
1 # SliTaz package receipt.
3 PACKAGE="nanoshot"
4 VERSION="0.2.15"
5 CATEGORY="utilities"
6 SHORT_DESC="Take screenshots of screen area, selected windows, web pages and videos"
7 MAINTAINER="al.bobylev@gmail.com"
8 WEB_SITE="http://sourceforge.net/projects/nanoshot/"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 DEPENDS="xdg-utils python pygobject pygtk pycurl gnome-python-desktop \
13 dbus-python python-pil gst-python"
14 BUILD_DEPENDS="xdg-utils python pygobject pygtk pycurl gnome-python-desktop \
15 dbus-python python-pil bash sed"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 mkdir -p /usr/share/man
21 cd $src
22 ./configure $CONFIGURE_ARGS &&
23 sed -i 's/cp -T/cp/g' ./install
24 # fix install paths
25 sed -i "s|\"/usr|\"$install/usr|g" ./install
27 ./install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 cp -a $install/* $fs
34 rm -rf $fs/usr/share/icons/{Humanity,Humanity-Dark,ubuntu-mono-dark}
35 rm -rf $fs/usr/man
36 # fix paths
37 sed -i "s|$install||g" $fs/usr/bin/Nanoshot
38 }