wok-next view pyneighborhood/receipt @ rev 8982

Fixed othello to work locally so sources don't have to be downloaded everytime.
author Christopher Rogers <slaxemulator@gmail.com>
date Wed Mar 02 15:36:11 2011 +0000 (2011-03-02)
parents 85df17f7d27a
children ce4297548db6
line source
1 # SliTaz package receipt.
3 PACKAGE="pyneighborhood"
4 VERSION="0.5.3"
5 CATEGORY="network"
6 SHORT_DESC="GUI frontend for samba tools (smbclient, smbmount, etc)."
7 MAINTAINER="paul@slitaz.org"
8 DEPENDS="python pygtk samba"
9 BUILD_DEPENDS="python python-dev gettext wget"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="https://launchpad.net/pyneighborhood"
12 WGET_URL="$WEB_SITE/${VERSION%.*}/$VERSION/+download/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 # hack Makefile
19 sed -i 's/--prefix=/--root=/' Makefile
20 # hack .desktop file
21 sed -i 's/Application;Network;System;Utility/Application;System;/' pyNeighborhood.desktop
23 make DESTDIR=$PWD/_pkg install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr
30 cp -a $_pkg/usr $fs
31 cp -a $_pkg/share $fs/usr
32 }