wok-next annotate pyneighborhood/receipt @ rev 20714
netkit-rsh: typo
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sun May 27 12:56:13 2018 +0300 (2018-05-27) |
parents | 16df76e1fc6a |
children | c022997c7a57 |
rev | line source |
---|---|
paul@3859 | 1 # SliTaz package receipt. |
paul@3859 | 2 |
paul@3859 | 3 PACKAGE="pyneighborhood" |
paul@9547 | 4 VERSION="0.5.4" |
paul@3859 | 5 CATEGORY="network" |
paul@3859 | 6 SHORT_DESC="GUI frontend for samba tools (smbclient, smbmount, etc)." |
paul@3859 | 7 MAINTAINER="paul@slitaz.org" |
pascal@14999 | 8 LICENSE="GPL3" |
paul@3859 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
paul@3859 | 10 WEB_SITE="https://launchpad.net/pyneighborhood" |
gokhlayeh@8567 | 11 WGET_URL="$WEB_SITE/${VERSION%.*}/$VERSION/+download/$TARBALL" |
paul@3859 | 12 |
pascal@14999 | 13 DEPENDS="python pygtk samba" |
al@20513 | 14 BUILD_DEPENDS="python python-dev gettext" |
pascal@14999 | 15 |
paul@3859 | 16 # Rules to configure and make the package. |
paul@3859 | 17 compile_rules() |
paul@3859 | 18 { |
paul@7797 | 19 # hack Makefile |
paul@7797 | 20 sed -i 's/--prefix=/--root=/' Makefile |
paul@4374 | 21 # hack .desktop file |
paul@4374 | 22 sed -i 's/Application;Network;System;Utility/Application;System;/' pyNeighborhood.desktop |
paul@4374 | 23 |
pascal@14999 | 24 make DESTDIR=$DESTDIR install |
paul@3859 | 25 } |
paul@3859 | 26 |
paul@3859 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@3859 | 28 genpkg_rules() |
paul@3859 | 29 { |
paul@7797 | 30 mkdir -p $fs/usr |
pascal@14999 | 31 cp -a $install/usr $fs |
pascal@14999 | 32 cp -a $install/share $fs/usr |
paul@3859 | 33 } |