skaembutils.patch
author Tomas Zeman <tzeman@volny.cz>
Fri, 04 May 2012 20:24:29 +0200
changeset 138 ef1e8be95300
parent 109 5ea047c6d16b
permissions -rw-r--r--
removed vim.patch

From: Tomas Zeman <tzeman@volny.cz>
Date: Tue, 6 Nov 2007 13:47:20 +0100

skaembutils

diff -r fec67ae3cb4a source/dietlibc/skaembutils/FrugalBuild
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/source/dietlibc/skaembutils/FrugalBuild	Wed Feb 15 15:15:43 2012 +0100
@@ -0,0 +1,29 @@
+# Maintainer: Tomas Zeman <tzeman@volny.cz>
+
+pkgname=skaembutils
+pkgver=0.18
+pkgrel=2
+pkgdesc="Tiny portable utilities"
+url="http://www.skarnet.org/software/skaembutils/"
+makedepends=(dietlibc 'skalibs>=0.45')
+archs=(i686)
+up2date='lynx -dump -nolist $url/install.html|grep $pkgname|grep tar.gz|head -1|sed -e "s/.*$pkgname-\(.*\)\.tar.gz.*$/\1/"'
+source=($url/$pkgname-$pkgver.tar.gz)
+sha1sums=('4dcb46630ac458e3135fe68ab0ca61e78d0798e6')
+
+build() {
+	Fmkdir /package
+	mv host $Fdestdir/package || Fdie
+	cd $Fdestdir/package/host/skarnet.org/$pkgname-$pkgver
+	
+	echo "diet gcc -nostdinc $CFLAGS" > conf-compile/conf-cc
+	echo "diet gcc -s -static" > conf-compile/conf-ld
+	
+	package/install || Fdie
+	chown -R root.root $Fdestdir/package
+	Fmkdir /command
+	for i in command/*; do
+		ln -sf /package/host/skarnet.org/$pkgname/$i $Fdestdir/$i || Fdie
+	done
+	rm -rf compile || Fdie
+}