wok-4.x annotate pyneighborhood/receipt @ rev 4374
pyneighborhood: fix depends and desktop.file
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Sun Oct 11 13:25:38 2009 +0000 (2009-10-11) |
parents | 35792a81be44 |
children | c0b957b9020a |
rev | line source |
---|---|
paul@3859 | 1 # SliTaz package receipt. |
paul@3859 | 2 |
paul@3859 | 3 PACKAGE="pyneighborhood" |
paul@3859 | 4 VERSION="0.5.0" |
paul@3859 | 5 CATEGORY="network" |
paul@3859 | 6 SHORT_DESC="GUI frontend for samba tools (smbclient, smbmount, etc)." |
paul@3859 | 7 MAINTAINER="paul@slitaz.org" |
paul@4374 | 8 DEPENDS="python pygtk samba gettext libffi" |
paul@3859 | 9 BUILD_DEPENDS="python python-dev" |
paul@3859 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
paul@3859 | 11 WEB_SITE="https://launchpad.net/pyneighborhood" |
paul@3859 | 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
paul@3859 | 13 |
paul@3859 | 14 # Rules to configure and make the package. |
paul@3859 | 15 compile_rules() |
paul@3859 | 16 { |
paul@3859 | 17 cd $src |
paul@4374 | 18 |
paul@4374 | 19 # hack .desktop file |
paul@4374 | 20 sed -i 's/Application;Network;System;Utility/Application;System;/' pyNeighborhood.desktop |
paul@4374 | 21 |
paul@3859 | 22 python setup.py build && |
paul@3859 | 23 python setup.py install --root=$PWD/_pkg |
paul@3859 | 24 } |
paul@3859 | 25 |
paul@3859 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@3859 | 27 genpkg_rules() |
paul@3859 | 28 { |
paul@3859 | 29 mkdir -p $fs |
paul@3859 | 30 cp -a $_pkg/usr $fs |
paul@3859 | 31 } |
paul@3859 | 32 |