wok-stable view pyneighborhood/receipt @ rev 7760

Up: lvm2 to 2.02.79.
author Christopher Rogers <slaxemulator@gmail.com>
date Tue Dec 21 11:15:20 2010 +0000 (2010-12-21)
parents 17ad88488890
children 85df17f7d27a
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 gettext libffi"
9 BUILD_DEPENDS="python python-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="https://launchpad.net/pyneighborhood"
12 WGET="$WEB_SITE/${VERSION%.*}/$VERSION/+download/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 if [ -f $SOURCES_REPOSITORY/$TARBALL ]; then
18 tar xjf $SOURCES_REPOSITORY/$TARBALL
19 else
20 [ -L /usr/bin/wget ] || tazpkg get-install wget --forced
21 wget -O $SOURCES_REPOSITORY/$TARBALL --no-check-certificate "$WGET"
22 tar xjf $SOURCES_REPOSITORY/$TARBALL
23 fi
25 cd $src
26 # hack .desktop file
27 sed -i 's/Application;Network;System;Utility/Application;System;/' pyNeighborhood.desktop
29 python setup.py build &&
30 python setup.py install --root=$PWD/_pkg
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs
37 cp -a $_pkg/usr $fs
38 }