From de64b483ae2bb614d4124ff78fb2b65954d1eeaa Mon Sep 17 00:00:00 2001 From: Juan RP Date: Tue, 19 Feb 2013 14:15:41 +0100 Subject: [PATCH] tcc: update to 0.9.26. --- srcpkgs/tcc/patches/Makefile-install.patch | 43 ---------------------- srcpkgs/tcc/template | 27 +++----------- 2 files changed, 6 insertions(+), 64 deletions(-) delete mode 100644 srcpkgs/tcc/patches/Makefile-install.patch diff --git a/srcpkgs/tcc/patches/Makefile-install.patch b/srcpkgs/tcc/patches/Makefile-install.patch deleted file mode 100644 index 04097dd1cb..0000000000 --- a/srcpkgs/tcc/patches/Makefile-install.patch +++ /dev/null @@ -1,43 +0,0 @@ ---- Makefile.orig 2011-02-24 15:04:41.177936565 +0100 -+++ Makefile 2011-02-24 15:07:25.127413480 +0100 -@@ -197,25 +197,25 @@ INSTALL=install - - ifndef CONFIG_WIN32 - install: $(PROGS) $(LIBTCC1) $(BCHECK_O) libtcc.a tcc.1 tcc-doc.html -- mkdir -p "$(bindir)" -- $(INSTALL) -s -m755 $(PROGS) "$(bindir)" -- mkdir -p "$(mandir)/man1" -- $(INSTALL) tcc.1 "$(mandir)/man1" -- mkdir -p "$(tccdir)" -- mkdir -p "$(tccdir)/include" -+ $(INSTALL) -d "$(DESTDIR)$(bindir)" -+ $(INSTALL) -m755 $(PROGS) "$(DESTDIR)$(bindir)" -+ $(INSTALL) -d "$(DESTDIR)$(mandir)/man1" -+ $(INSTALL) -m644 tcc.1 "$(DESTDIR)$(mandir)/man1" -+ $(INSTALL) -d "$(DESTDIR)$(tccdir)" -+ $(INSTALL) -d "$(DESTDIR)$(tccdir)/include" - ifneq ($(LIBTCC1),) -- $(INSTALL) -m644 $(LIBTCC1) "$(tccdir)" -+ $(INSTALL) -m644 $(LIBTCC1) "$(DESTDIR)$(tccdir)" - endif - ifneq ($(BCHECK_O),) -- $(INSTALL) -m644 $(BCHECK_O) "$(tccdir)" -+ $(INSTALL) -m644 $(BCHECK_O) "$(DESTDIR)$(tccdir)" - endif -- $(INSTALL) -m644 $(addprefix include/,$(TCC_INCLUDES)) "$(tccdir)/include" -- mkdir -p "$(docdir)" -- $(INSTALL) -m644 tcc-doc.html "$(docdir)" -- mkdir -p "$(libdir)" -- $(INSTALL) -m644 libtcc.a "$(libdir)" -- mkdir -p "$(includedir)" -- $(INSTALL) -m644 libtcc.h "$(includedir)" -+ $(INSTALL) -m644 $(addprefix include/,$(TCC_INCLUDES)) "$(DESTDIR)$(tccdir)/include" -+ $(INSTALL) -d "$(DESTDIR)$(docdir)" -+ $(INSTALL) -m644 tcc-doc.html "$(DESTDIR)$(docdir)" -+ $(INSTALL) -d "$(DESTDIR)$(libdir)" -+ $(INSTALL) -m644 libtcc.a "$(DESTDIR)$(libdir)" -+ $(INSTALL) -d "$(DESTDIR)$(includedir)" -+ $(INSTALL) -m644 libtcc.h "$(DESTDIR)$(includedir)" - - uninstall: - rm -fv $(foreach P,$(PROGS),"$(bindir)/$P") diff --git a/srcpkgs/tcc/template b/srcpkgs/tcc/template index 9f3f41591d..a5f25bd568 100644 --- a/srcpkgs/tcc/template +++ b/srcpkgs/tcc/template @@ -1,27 +1,12 @@ # Template file for 'tcc' pkgname=tcc -version=0.9.25 -build_style=gnu-configure -distfiles="${NONGNU_SITE}/tinycc/tcc-$version.tar.bz2" +version=0.9.26 revision=1 +build_style=gnu-configure makedepends="perl" short_desc="The Tiny C Compiler" maintainer="Juan RP " -checksum=1bed6cb0fb2ef4100df1b94435d22863679e84cf419ec48ef96d9c0e9063de35 -long_desc=" - Features - * SMALL! You can compile and execute C code everywhere, for example on - rescue disks (about 100KB for x86 TCC executable, including C - preprocessor, C compiler, assembler and linker). - * FAST! tcc generates x86 code. No byte code overhead. Compile, assemble - and link several times faster than GCC. - * UNLIMITED! Any C dynamic library can be used directly. TCC is heading - torward full ISOC99 compliance. TCC can of course compile itself. - * SAFE! tcc includes an optional memory and bound checker. Bound checked - code can be mixed freely with standard code. - * Compile and execute C source directly. No linking or assembly necessary. - Full C preprocessor and GNU-like assembler included. - * C script supported : just add '#!/usr/local/bin/tcc -run' at the first - line of your C source, and execute it directly from the command line. - * With libtcc, you can use TCC as a backend for dynamic code generation." - +homepage="http://bellard.org/tcc/" +license="LGPL-2.1" +distfiles="${NONGNU_SITE}/tinycc/tcc-$version.tar.bz2" +checksum=521e701ae436c302545c3f973a9c9b7e2694769c71d9be10f70a2460705b6d71