wok-next annotate pyneighborhood/receipt @ rev 8512

Added patch to fixed epdfview so mouse scrolling works.
author Christopher Rogers <slaxemulator@gmail.com>
date Sat Feb 12 02:36:49 2011 +0000 (2011-02-12)
parents c0b957b9020a
children 64b7f5075e12
rev   line source
paul@3859 1 # SliTaz package receipt.
paul@3859 2
paul@3859 3 PACKAGE="pyneighborhood"
slaxemulator@7703 4 VERSION="0.5.3"
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"
slaxemulator@7703 12 WGET="$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 {
slaxemulator@7703 17 if [ -f $SOURCES_REPOSITORY/$TARBALL ]; then
slaxemulator@7703 18 tar xjf $SOURCES_REPOSITORY/$TARBALL
slaxemulator@7703 19 else
paul@7797 20 # [ -L /usr/bin/wget ] || tazpkg get-install wget --forced
slaxemulator@7703 21 wget -O $SOURCES_REPOSITORY/$TARBALL --no-check-certificate "$WGET"
slaxemulator@7703 22 tar xjf $SOURCES_REPOSITORY/$TARBALL
slaxemulator@7703 23 fi
slaxemulator@7703 24
paul@3859 25 cd $src
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
paul@7797 31 make DESTDIR=$PWD/_pkg 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
paul@3859 38 cp -a $_pkg/usr $fs
paul@7797 39 cp -a $_pkg/share $fs/usr
paul@3859 40 }
paul@3859 41