wok-6.x view pyneighborhood/receipt @ rev 8430

Up: sylpheed to 3.1.0.
author Christopher Rogers <slaxemulator@gmail.com>
date Sat Feb 05 21:54:58 2011 +0000 (2011-02-05)
parents c0b957b9020a
children 64b7f5075e12
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="$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 Makefile
27 sed -i 's/--prefix=/--root=/' Makefile
28 # hack .desktop file
29 sed -i 's/Application;Network;System;Utility/Application;System;/' pyNeighborhood.desktop
31 make DESTDIR=$PWD/_pkg install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr
38 cp -a $_pkg/usr $fs
39 cp -a $_pkg/share $fs/usr
40 }