[Frugalware-git] frugalware-current: netkit-timed-0.17-3-i686

Miklos Vajna vmiklos at frugalware.org
Wed Jan 19 22:16:18 CET 2011


Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=30bf0236b65d0fe80dff324b0f9421f85f5f6ee3

commit 30bf0236b65d0fe80dff324b0f9421f85f5f6ee3
Author: Miklos Vajna <vmiklos at frugalware.org>
Date:   Wed Jan 19 22:12:09 2011 +0100

netkit-timed-0.17-3-i686

- portmap -> rpcbind

diff --git a/source/network/netkit-timed/FrugalBuild b/source/network/netkit-timed/FrugalBuild
index 1bcd363..edd3611 100644
--- a/source/network/netkit-timed/FrugalBuild
+++ b/source/network/netkit-timed/FrugalBuild
@@ -4,25 +4,23 @@

pkgname=netkit-timed
pkgver=0.17
-pkgrel=2
+pkgrel=3
pkgdesc="Basic network tools, fixed and ported from BSD code."
url="ftp://ftp.uk.linux.org/pub/linux/Networking/netkit"
groups=('network')
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)
sha1sums=('0d79c83867e79d49b6f75e7fde9874f7af4a1dc1' \
'b0f513535f7a8612395826e5acc8f99b5f6509b7')

build() {
-	cd $startdir/src/$pkgname-$pkgver
-	patch -p1 < $startdir/src/$pkgname-$pkgver.diff
-	mkdir -p $startdir/pkg/usr/sbin
-	mkdir -p $startdir/pkg/usr/man/man8
-	./configure --prefix=/usr
-
-	make || return 1
-
-	make INSTALLROOT=$startdir/pkg install
+	Fpatchall
+	Fmkdir /usr/sbin /usr/man/man8
+	export CFLAGS="$CFLAGS -DCLK_TCK=CLOCKS_PER_SEC"
+	Fmake
+	Fmakeinstall INSTALLROOT=$Fdestdir
}
+
+# optimization OK


More information about the Frugalware-git mailing list