wok-current view pyneighborhood/receipt @ rev 15567

Up: thunderbird-langpack-zh_CN (17.0.11esr)
author Dominique Corbex <domcox@slitaz.org>
date Sun Nov 24 17:37:53 2013 +0100 (2013-11-24)
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 }