wok-next annotate pyneighborhood/receipt @ rev 16985

caja: Remove copy all share folder command.
author Yuri Pourre <yuripourre@gmail.com>
date Thu Aug 07 23:04:24 2014 -0300 (2014-08-07)
parents ce4297548db6
children 16df76e1fc6a
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"
pascal@14999 14 BUILD_DEPENDS="python python-dev gettext wget"
pascal@14999 15
paul@3859 16 # Rules to configure and make the package.
paul@3859 17 compile_rules()
paul@3859 18 {
paul@3859 19 cd $src
paul@7797 20 # hack Makefile
paul@7797 21 sed -i 's/--prefix=/--root=/' Makefile
paul@4374 22 # hack .desktop file
paul@4374 23 sed -i 's/Application;Network;System;Utility/Application;System;/' pyNeighborhood.desktop
paul@4374 24
pascal@14999 25 make DESTDIR=$DESTDIR install
paul@3859 26 }
paul@3859 27
paul@3859 28 # Rules to gen a SliTaz package suitable for Tazpkg.
paul@3859 29 genpkg_rules()
paul@3859 30 {
paul@7797 31 mkdir -p $fs/usr
pascal@14999 32 cp -a $install/usr $fs
pascal@14999 33 cp -a $install/share $fs/usr
paul@3859 34 }
paul@3859 35