wok diff pyneighborhood/receipt @ rev 8370
Add gimp to gimp-dev depends.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Thu Feb 03 21:42:52 2011 +0000 (2011-02-03) |
parents | c0b957b9020a |
children | 64b7f5075e12 |
line diff
1.1 --- a/pyneighborhood/receipt Sat Dec 18 18:53:34 2010 +0000 1.2 +++ b/pyneighborhood/receipt Thu Feb 03 21:42:52 2011 +0000 1.3 @@ -5,8 +5,8 @@ 1.4 CATEGORY="network" 1.5 SHORT_DESC="GUI frontend for samba tools (smbclient, smbmount, etc)." 1.6 MAINTAINER="paul@slitaz.org" 1.7 -DEPENDS="python pygtk samba gettext libffi" 1.8 -BUILD_DEPENDS="python python-dev" 1.9 +DEPENDS="python pygtk samba" 1.10 +BUILD_DEPENDS="python python-dev gettext wget" 1.11 TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.12 WEB_SITE="https://launchpad.net/pyneighborhood" 1.13 WGET="$WEB_SITE/${VERSION%.*}/$VERSION/+download/$TARBALL" 1.14 @@ -17,23 +17,25 @@ 1.15 if [ -f $SOURCES_REPOSITORY/$TARBALL ]; then 1.16 tar xjf $SOURCES_REPOSITORY/$TARBALL 1.17 else 1.18 - [ -L /usr/bin/wget ] || tazpkg get-install wget --forced 1.19 + # [ -L /usr/bin/wget ] || tazpkg get-install wget --forced 1.20 wget -O $SOURCES_REPOSITORY/$TARBALL --no-check-certificate "$WGET" 1.21 tar xjf $SOURCES_REPOSITORY/$TARBALL 1.22 fi 1.23 1.24 cd $src 1.25 + # hack Makefile 1.26 + sed -i 's/--prefix=/--root=/' Makefile 1.27 # hack .desktop file 1.28 sed -i 's/Application;Network;System;Utility/Application;System;/' pyNeighborhood.desktop 1.29 1.30 - python setup.py build && 1.31 - python setup.py install --root=$PWD/_pkg 1.32 + make DESTDIR=$PWD/_pkg install 1.33 } 1.34 1.35 # Rules to gen a SliTaz package suitable for Tazpkg. 1.36 genpkg_rules() 1.37 { 1.38 - mkdir -p $fs 1.39 + mkdir -p $fs/usr 1.40 cp -a $_pkg/usr $fs 1.41 + cp -a $_pkg/share $fs/usr 1.42 } 1.43