wok annotate pyneighborhood/receipt @ rev 9005

yaws: fix source path
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Mar 03 17:56:34 2011 +0100 (2011-03-03)
parents 85df17f7d27a
children ce4297548db6
rev   line source
paul@3859 1 # SliTaz package receipt.
paul@3859 2
paul@3859 3 PACKAGE="pyneighborhood"
slaxemulator@7703 4 VERSION="0.5.3"
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@7797 8 DEPENDS="python pygtk samba"
paul@7797 9 BUILD_DEPENDS="python python-dev gettext wget"
paul@3859 10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
paul@3859 11 WEB_SITE="https://launchpad.net/pyneighborhood"
gokhlayeh@8567 12 WGET_URL="$WEB_SITE/${VERSION%.*}/$VERSION/+download/$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@7797 18 # hack Makefile
paul@7797 19 sed -i 's/--prefix=/--root=/' Makefile
paul@4374 20 # hack .desktop file
paul@4374 21 sed -i 's/Application;Network;System;Utility/Application;System;/' pyNeighborhood.desktop
paul@4374 22
paul@7797 23 make DESTDIR=$PWD/_pkg install
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@7797 29 mkdir -p $fs/usr
paul@3859 30 cp -a $_pkg/usr $fs
paul@7797 31 cp -a $_pkg/share $fs/usr
paul@3859 32 }
paul@3859 33