wok-6.x annotate pyneighborhood/receipt @ rev 23042
gcc83-lib-base: add /usr/libgcc83/libstdc++.la
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Mar 05 12:13:42 2020 +0100 (2020-03-05) |
parents | 2b9f96603415 |
children | 1bd2c6414e5a |
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@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 } |