wok-6.x view nanoshot/receipt @ rev 14108

Up: libwekkit-video-dev (1.8.3)
author Dominique Corbex <domcox@slitaz.org>
date Sun Feb 24 09:19:30 2013 +0100 (2013-02-24)
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 }