wok-current view pyneighborhood/receipt @ rev 12856

Up: slitaz-base-files (5.2.2) libtaz.sh, libpkg.sh and i18n improved
author Christophe Lincoln <pankso@slitaz.org>
date Thu May 24 12:55:50 2012 +0200 (2012-05-24)
parents 64b7f5075e12
children 2b9f96603415
line source
1 # SliTaz package receipt.
3 PACKAGE="pyneighborhood"
4 VERSION="0.5.4"
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 }