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

commit 7399ec683c03600fdfe35eb0f888bad6eb89c1cf
Author: crazy <[email protected]>
Date:   Mon May 30 12:33:15 2016 +0200

unifdef-2.11-1-x86_64
* Version bump

diff --git a/source/apps-extra/unifdef/FrugalBuild 
b/source/apps-extra/unifdef/FrugalBuild
index 64e9a43..9b65ba2 100644
--- a/source/apps-extra/unifdef/FrugalBuild
+++ b/source/apps-extra/unifdef/FrugalBuild
@@ -2,30 +2,26 @@
# Maintainer: crazy <[email protected]>

pkgname=unifdef
-pkgver=1.0
+pkgver=2.11
pkgrel=1
pkgdesc="Unifdef is useful for removing #ifdef'ed lines from a file."
-url="http://freshmeat.net/projects/unifdef/";
+url="http://dotat.at/prog/unifdef/";
depends=('glibc')
groups=('apps-extra')
-archs=('i686' 'x86_64' 'arm')
-up2date="$pkgver" ## do not change for now
-source=(http://www.cs.cmu.edu/~ajw/public/dist/unifdef-1.0.tar.gz 
makefile.patch)
-sha1sums=('0b24f1f0d38a60d50635bf64f75914495da9108b' \
-          '5db4255936087914608e5bd8bfb8899e9fa373bd')
+archs=('i686' 'x86_64')
+up2date="Flasttar http://dotat.at/prog/unifdef/";
+source=(http://dotat.at/prog/unifdef/$pkgname-$pkgver.tar.xz)
+sha1sums=('4669a571297700d2b8cefdb28b4a95132d43a665')
+
build()
{
-        Fcd
-       Fmkdir usr/bin usr/man/man1
-       make clean || Fdie
-        Fpatchall
-        if [ "$CARCH" == "x86_64" ]; then
-                Fsed "-O2" "$CFLAGS -fPIC" Makefile
-        else
-                Fsed "-O2" "$CFLAGS" Makefile
-        fi
-        Fmake
-        Fmakeinstall
+       Fcd
+       Fsed '${HOME}' '/usr'  Makefile
+
+       if [ "$CARCH" == "x86_64" ]; then
+               CFLAGS+=" -fPIC"
+       fi
+       Fbuild
}

# optimization OK
diff --git a/source/apps-extra/unifdef/makefile.patch 
b/source/apps-extra/unifdef/makefile.patch
deleted file mode 100644
index 3bbe3e5..0000000
--- a/source/apps-extra/unifdef/makefile.patch
+++ /dev/null
@@ -1,11 +0,0 @@
-diff -Naur unifdef-1.0/Makefile unifdef-1.0-p/Makefile
---- unifdef-1.0/Makefile       2000-02-12 04:54:36.000000000 +0100
-+++ unifdef-1.0-p/Makefile     2006-06-14 01:10:30.000000000 +0200
-@@ -9,5 +9,5 @@
-       rm -f unifdef *.o
-
- install: unifdef
--      install -m 0755 unifdef $(DEST)/bin
--      install -m 0644 unifdef.1 $(DEST)/man/man1
-+      install -m 0755 unifdef $(DESTDIR)$(DEST)/bin
-+      install -m 0644 unifdef.1 $(DESTDIR)$(DEST)/man/man1
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to