wok view pyneighborhood/receipt @ rev 25516

memtest64: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Feb 19 11:36:17 2023 +0000 (21 months ago)
parents 16df76e1fc6a
children
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 LICENSE="GPL3"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="https://launchpad.net/pyneighborhood"
11 WGET_URL="$WEB_SITE/${VERSION%.*}/$VERSION/+download/$TARBALL"
13 DEPENDS="python pygtk samba"
14 BUILD_DEPENDS="python python-dev gettext wget"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - $WEB_SITE 2>/dev/null | \
20 sed '/Latest version is/!d;s|.*is ||'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
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=$DESTDIR install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr
38 cp -a $install/usr $fs
39 cp -a $install/share $fs/usr
40 }