wok-6.x view pyneighborhood/receipt @ rev 25481
created recipe for py3k-cffi
author | Hans-G?nter Theisgen |
---|---|
date | Mon Oct 17 07:42:01 2022 +0100 (2022-10-17) |
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 }