wok-next annotate pyneighborhood/receipt @ rev 10751
Add slitaz-i18n-extra and first step with locale-fr-extra
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon May 30 19:03:21 2011 +0200 (2011-05-30) |
parents | 64b7f5075e12 |
children | 2b9f96603415 |
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" |
paul@7797 | 8 DEPENDS="python pygtk samba" |
paul@7797 | 9 BUILD_DEPENDS="python python-dev gettext wget" |
paul@3859 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
paul@3859 | 11 WEB_SITE="https://launchpad.net/pyneighborhood" |
gokhlayeh@8567 | 12 WGET_URL="$WEB_SITE/${VERSION%.*}/$VERSION/+download/$TARBALL" |
paul@3859 | 13 |
paul@3859 | 14 # Rules to configure and make the package. |
paul@3859 | 15 compile_rules() |
paul@3859 | 16 { |
paul@3859 | 17 cd $src |
paul@7797 | 18 # hack Makefile |
paul@7797 | 19 sed -i 's/--prefix=/--root=/' Makefile |
paul@4374 | 20 # hack .desktop file |
paul@4374 | 21 sed -i 's/Application;Network;System;Utility/Application;System;/' pyNeighborhood.desktop |
paul@4374 | 22 |
paul@7797 | 23 make DESTDIR=$PWD/_pkg install |
paul@3859 | 24 } |
paul@3859 | 25 |
paul@3859 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@3859 | 27 genpkg_rules() |
paul@3859 | 28 { |
paul@7797 | 29 mkdir -p $fs/usr |
paul@3859 | 30 cp -a $_pkg/usr $fs |
paul@7797 | 31 cp -a $_pkg/share $fs/usr |
paul@3859 | 32 } |
paul@3859 | 33 |