wok-next annotate nanoshot/receipt @ rev 21457

updated sshfs-fuse (3.3.1 -> 3.7.0)
author Hans-G?nter Theisgen
date Thu May 07 14:36:33 2020 +0100 (2020-05-07)
parents c022997c7a57
children
rev   line source
al@20513 1 # SliTaz package receipt v2.
al@13649 2
al@13649 3 PACKAGE="nanoshot"
al@13649 4 VERSION="0.2.15"
al@13649 5 CATEGORY="utilities"
al@20513 6 SHORT_DESC="Take screenshots of screen area, windows, web pages and videos"
al@13649 7 MAINTAINER="al.bobylev@gmail.com"
pascal@15000 8 LICENSE="GPL2"
al@20906 9 WEB_SITE="https://sourceforge.net/projects/nanoshot/"
al@20513 10
al@13649 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
al@13649 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
al@13649 13
al@20932 14 BUILD_DEPENDS="xdg-utils python python-pygobject2 python-pygtk pycurl gnome-python-desktop \
al@21020 15 python-dbus python-pil bash sed gettext-dev"
al@13649 16
al@20513 17 compile_rules() {
al@13649 18 mkdir -p /usr/share/man
al@20513 19
al@13649 20 ./configure $CONFIGURE_ARGS &&
al@13649 21 sed -i 's/cp -T/cp/g' ./install
al@13649 22 # fix install paths
al@13649 23 sed -i "s|\"/usr|\"$install/usr|g" ./install
al@13649 24
al@13649 25 ./install
al@20513 26
al@20513 27 # fix paths
al@20513 28 sed -i "s|$install||g" $install/usr/bin/Nanoshot
al@13649 29 }
al@13649 30
al@20513 31 genpkg_rules() {
al@20513 32 copy @std
al@20932 33 DEPENDS="xdg-utils python python-pygobject2 python-pygtk pycurl gnome-python-desktop \
al@20919 34 python-dbus python-pil gst0-python"
al@13649 35 }