Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=kdetesting2.git;a=commitdiff;h=97285ed928d5c19c5a814b617a63d179f4cdebd9

commit 97285ed928d5c19c5a814b617a63d179f4cdebd9
Author: Miklos Vajna <vmik...@frugalware.org>
Date:   Thu Jan 20 01:01:53 2011 +0100

netwrite-0.17-5-i686

- portmap -> rpcbind

diff --git a/source/network-extra/netwrite/FrugalBuild 
b/source/network-extra/netwrite/FrugalBuild
index 3fffc15..da8b5c8 100644
--- a/source/network-extra/netwrite/FrugalBuild
+++ b/source/network-extra/netwrite/FrugalBuild
@@ -4,13 +4,13 @@

pkgname=netwrite
pkgver=0.17
-pkgrel=4
+pkgrel=5
pkgdesc="Basic network tools, fixed and ported from BSD code."
url="ftp://ftp.uk.linux.org/pub/linux/Networking/netkit";
groups=('network-extra')
archs=('i686' 'x86_64')
-depends=('glibc' 'portmap')
-up2date="wget --passive-ftp -O - -q 
ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/|grep $pkgname.*tar.gz|sed 
-n -e 's/.*>$pkgname-\(.*\)\.tar\.gz.*/\1/' -e '1 p'"
+depends=('rpcbind')
+up2date="Flasttar $url"
source=(ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/$pkgname-$pkgver.tar.gz
 \
$pkgname-$pkgver.diff inews.tar.gz inews.diff)
sha1sums=('46c4f0eb5d8b08b30321028a6e4e9d0b19d46b06' \
@@ -20,7 +20,7 @@ sha1sums=('46c4f0eb5d8b08b30321028a6e4e9d0b19d46b06' \

build() {
Fsed '$PREFIX/man' '$PREFIX/share/man' configure
-       patch -p1 < ../$pkgname-$pkgver.diff
+       Fpatch $pkgname-$pkgver.diff
Fmkdir /usr/{bin,sbin}
Fmkdir /usr/share/man/man{1,8}
Fconf
@@ -28,7 +28,7 @@ build() {

# inews
cd ../inews
-       patch -p1 < ../inews.diff
+       Fpatch inews.diff
Fmake
Fmakeinstall DESTDIR=$Fdestdir/usr/bin
}
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to