wok-4.x view pyneighborhood/receipt @ rev 5448

linmodem-intel-536ep: fix compile_rules (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed May 05 13:57:41 2010 +0200 (2010-05-05)
parents 35792a81be44
children c0b957b9020a
line source
1 # SliTaz package receipt.
3 PACKAGE="pyneighborhood"
4 VERSION="0.5.0"
5 CATEGORY="network"
6 SHORT_DESC="GUI frontend for samba tools (smbclient, smbmount, etc)."
7 MAINTAINER="paul@slitaz.org"
8 DEPENDS="python pygtk samba gettext libffi"
9 BUILD_DEPENDS="python python-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="https://launchpad.net/pyneighborhood"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
19 # hack .desktop file
20 sed -i 's/Application;Network;System;Utility/Application;System;/' pyNeighborhood.desktop
22 python setup.py build &&
23 python setup.py install --root=$PWD/_pkg
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs
30 cp -a $_pkg/usr $fs
31 }