wok-next view pyneighborhood/receipt @ rev 15871

Up: usbutils (007)
author Christophe Lincoln <pankso@slitaz.org>
date Fri Jan 31 19:47:26 2014 +0100 (2014-01-31)
parents ce4297548db6
children 16df76e1fc6a
line source
1 # SliTaz package receipt.
3 PACKAGE="pyneighborhood"
4 VERSION="0.5.4"
5 CATEGORY="network"
6 SHORT_DESC="GUI frontend for samba tools (smbclient, smbmount, etc)."
7 MAINTAINER="paul@slitaz.org"
8 LICENSE="GPL3"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="https://launchpad.net/pyneighborhood"
11 WGET_URL="$WEB_SITE/${VERSION%.*}/$VERSION/+download/$TARBALL"
13 DEPENDS="python pygtk samba"
14 BUILD_DEPENDS="python python-dev gettext wget"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 # hack Makefile
21 sed -i 's/--prefix=/--root=/' Makefile
22 # hack .desktop file
23 sed -i 's/Application;Network;System;Utility/Application;System;/' pyNeighborhood.desktop
25 make DESTDIR=$DESTDIR install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr
32 cp -a $install/usr $fs
33 cp -a $install/share $fs/usr
34 }