wok-stable annotate pyneighborhood/receipt @ rev 11939
libwebkit-video: fixed wget filename
author | Samuel Trassare <samuel_trassare@yahoo.com> |
---|---|
date | Wed Feb 29 21:28:39 2012 -0800 (2012-02-29) |
parents | 64b7f5075e12 |
children |
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 |