wok annotate pyneighborhood/receipt @ rev 24831
updated libsndfile and libsndfile-dev (1.0.28 -> 1.0.31)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Mar 24 07:19:38 2022 +0100 (2022-03-24) |
parents | 16df76e1fc6a |
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" |
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 |
pascal@24434 | 16 # What is the latest version available today? |
pascal@24434 | 17 current_version() |
pascal@24434 | 18 { |
pascal@24434 | 19 wget -O - $WEB_SITE 2>/dev/null | \ |
pascal@24434 | 20 sed '/Latest version is/!d;s|.*is ||' |
pascal@24434 | 21 } |
pascal@24434 | 22 |
paul@3859 | 23 # Rules to configure and make the package. |
paul@3859 | 24 compile_rules() |
paul@3859 | 25 { |
paul@7797 | 26 # hack Makefile |
paul@7797 | 27 sed -i 's/--prefix=/--root=/' Makefile |
paul@4374 | 28 # hack .desktop file |
paul@4374 | 29 sed -i 's/Application;Network;System;Utility/Application;System;/' pyNeighborhood.desktop |
paul@4374 | 30 |
pascal@14999 | 31 make DESTDIR=$DESTDIR install |
paul@3859 | 32 } |
paul@3859 | 33 |
paul@3859 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@3859 | 35 genpkg_rules() |
paul@3859 | 36 { |
paul@7797 | 37 mkdir -p $fs/usr |
pascal@14999 | 38 cp -a $install/usr $fs |
pascal@14999 | 39 cp -a $install/share $fs/usr |
paul@3859 | 40 } |