wok-6.x view pyneighborhood/receipt @ rev 5128
Up: tazusb(2.3) + Improve recipe
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Sun Mar 21 23:09:04 2010 +0100 (2010-03-21) |
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 }