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

thunderbird-langpack-zh_CN: Up to 17.0.6esr
author Dominique Corbex <domcox@slitaz.org>
date Thu May 23 10:10:44 2013 +0200 (2013-05-23)
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 }