wok view pyneighborhood/receipt @ rev 17356

Up slitaz-boot-scripts (5.6.5)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Nov 18 14:27:51 2014 +0100 (2014-11-18)
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 }