From 491ee4085e8f9b7ac6bb0684af6cca67fe9aa1f7 Mon Sep 17 00:00:00 2001 From: "Jauhien Piatlicki (jauhien)" Date: Sat, 5 May 2012 01:39:33 +0300 Subject: dev-util/peg: Version bump for dev-util/peg, just renaming ebuild and patch --- dev-util/peg/ChangeLog | 7 ++++ dev-util/peg/Manifest | 8 ++--- dev-util/peg/files/peg-0.1.8-Makefile.patch | 53 ----------------------------- dev-util/peg/files/peg-0.1.9-Makefile.patch | 53 +++++++++++++++++++++++++++++ dev-util/peg/peg-0.1.8.ebuild | 28 --------------- dev-util/peg/peg-0.1.9.ebuild | 28 +++++++++++++++ 6 files changed, 92 insertions(+), 85 deletions(-) delete mode 100644 dev-util/peg/files/peg-0.1.8-Makefile.patch create mode 100644 dev-util/peg/files/peg-0.1.9-Makefile.patch delete mode 100644 dev-util/peg/peg-0.1.8.ebuild create mode 100644 dev-util/peg/peg-0.1.9.ebuild diff --git a/dev-util/peg/ChangeLog b/dev-util/peg/ChangeLog index e33eaefe9..7dcfcfd5a 100644 --- a/dev-util/peg/ChangeLog +++ b/dev-util/peg/ChangeLog @@ -2,6 +2,13 @@ # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ +*peg-0.1.9 (04 May 2012) + + 04 May 2012; Jauhien Piatlicki (jauhien) piatlicki@gmail.com + -peg-0.1.8.ebuild, -files/peg-0.1.8-Makefile.patch, +peg-0.1.9.ebuild, + +files/peg-0.1.9-Makefile.patch: + Version bump for dev-util/peg, just renaming ebuild and patch + *peg-0.1.8 (14 Apr 2012) 14 Apr 2012; Jauhien Piatlicki (jauhien) piatlicki@gmail.com diff --git a/dev-util/peg/Manifest b/dev-util/peg/Manifest index 0926852e7..50bef565d 100644 --- a/dev-util/peg/Manifest +++ b/dev-util/peg/Manifest @@ -1,5 +1,5 @@ -AUX peg-0.1.8-Makefile.patch 959 RMD160 055aca2e2d5d0eba0ed0f7504458d5a78ada5491 SHA1 5f53fd3dbad8db80238da145b96202f04af92078 SHA256 870be2325fec2d1612a1a8de7297817f67a0b65afc9b5af06ae79ee6d24dc63a -DIST peg-0.1.8.tar.gz 36998 RMD160 6c02860c2ce61e54d51c79bfe14efbfc2cb23f8d SHA1 4e5528e6c230d7de72305530461463ddac7b2b7d SHA256 487f4718a5c7a7b2ca08aaf3ff84af7356495ed4410f4569317600b462d83a13 -EBUILD peg-0.1.8.ebuild 528 RMD160 230f58eb287e7705bf169e4e3a6b78bdb15bc8e7 SHA1 28354a84e3f1b3bec7eb03680142df69c846761e SHA256 9c518bed8d5400e3d01da012253ec415c553ec5d4a36b9d1e24b6fdda8f21a75 -MISC ChangeLog 331 RMD160 a9877ef7d72416617017e6d40f5d51498b91cbc7 SHA1 ca5418db1f8f51e943dab3f34e6dfb466a6e9578 SHA256 6fac17b49283071525a62059a569bf9d638a494d5470014247114721027c19cc +AUX peg-0.1.9-Makefile.patch 959 RMD160 055aca2e2d5d0eba0ed0f7504458d5a78ada5491 SHA1 5f53fd3dbad8db80238da145b96202f04af92078 SHA256 870be2325fec2d1612a1a8de7297817f67a0b65afc9b5af06ae79ee6d24dc63a +DIST peg-0.1.9.tar.gz 38485 RMD160 1be1739e0e1862dfcaa74176e16ae4a97aadd290 SHA1 40a3dd06264fef8aaaedcc88f198c0641bf4190d SHA256 81d9299f3ee9e12b78c993529185645edd4475f5da271bff65b13c61d776708f +EBUILD peg-0.1.9.ebuild 528 RMD160 230f58eb287e7705bf169e4e3a6b78bdb15bc8e7 SHA1 28354a84e3f1b3bec7eb03680142df69c846761e SHA256 9c518bed8d5400e3d01da012253ec415c553ec5d4a36b9d1e24b6fdda8f21a75 +MISC ChangeLog 593 RMD160 e46437133ecd983fd9d7ec76a5787b3ba8686d1f SHA1 82ff3be0ecee5a8cfcc5dddf9f1c2ba40399563a SHA256 c15e64c954f4c594a678c761407ea0debb55f33c4a3d8247ad9f2094bed54121 MISC metadata.xml 214 RMD160 efd8175069efb91061298ff4584218b633e44678 SHA1 d372fdbfcb7fd07a4082961d3f3527be4fca1d60 SHA256 c1f09dc7d5313cd2da7b82259c7846ed23144d62b15e59680ada90e2b6b4d154 diff --git a/dev-util/peg/files/peg-0.1.8-Makefile.patch b/dev-util/peg/files/peg-0.1.8-Makefile.patch deleted file mode 100644 index 6364f1d7b..000000000 --- a/dev-util/peg/files/peg-0.1.8-Makefile.patch +++ /dev/null @@ -1,53 +0,0 @@ ---- Makefile -+++ Makefile -@@ -1,28 +1,36 @@ --CFLAGS = -g -Wall $(OFLAGS) $(XFLAGS) --OFLAGS = -O3 -DNDEBUG --#OFLAGS = -pg -+CC ?= gcc -+CFLAGS += -Wall -+ -+DEBUG ?= 0 -+ -+ifeq ($(DEBUG), 1) -+CFLAGS += -g -DDEBUG -+else -+CFLAGS += -DNDEBUG -+endif - - OBJS = tree.o compile.o - - all : peg leg - - peg : peg.o $(OBJS) -- $(CC) $(CFLAGS) -o $@-new peg.o $(OBJS) -+ $(CC) $(CFLAGS) $(LDFLAGS) -o $@-new peg.o $(OBJS) - mv $@-new $@ - - leg : leg.o $(OBJS) -- $(CC) $(CFLAGS) -o $@-new leg.o $(OBJS) -+ $(CC) $(CFLAGS) $(LDFLAGS) -o $@-new leg.o $(OBJS) - mv $@-new $@ - --ROOT = --PREFIX = /usr/local --BINDIR = $(ROOT)$(PREFIX)/bin -- --install : $(BINDIR)/peg $(BINDIR)/leg -- --$(BINDIR)/% : % -- cp -p $< $@ -- strip $@ -+PREFIX ?= /usr/local -+BINDIR ?= $(PREFIX)/bin -+ -+INSTALL ?= install -+INSTALL_PROG ?= $(INSTALL) -m755 -+ -+install : all -+ $(INSTALL) -d $(BINDIR) -+ $(INSTALL_PROG) peg $(BINDIR)/peg -+ $(INSTALL_PROG) leg $(BINDIR)/leg - - uninstall : .FORCE - rm -f $(BINDIR)/peg diff --git a/dev-util/peg/files/peg-0.1.9-Makefile.patch b/dev-util/peg/files/peg-0.1.9-Makefile.patch new file mode 100644 index 000000000..6364f1d7b --- /dev/null +++ b/dev-util/peg/files/peg-0.1.9-Makefile.patch @@ -0,0 +1,53 @@ +--- Makefile ++++ Makefile +@@ -1,28 +1,36 @@ +-CFLAGS = -g -Wall $(OFLAGS) $(XFLAGS) +-OFLAGS = -O3 -DNDEBUG +-#OFLAGS = -pg ++CC ?= gcc ++CFLAGS += -Wall ++ ++DEBUG ?= 0 ++ ++ifeq ($(DEBUG), 1) ++CFLAGS += -g -DDEBUG ++else ++CFLAGS += -DNDEBUG ++endif + + OBJS = tree.o compile.o + + all : peg leg + + peg : peg.o $(OBJS) +- $(CC) $(CFLAGS) -o $@-new peg.o $(OBJS) ++ $(CC) $(CFLAGS) $(LDFLAGS) -o $@-new peg.o $(OBJS) + mv $@-new $@ + + leg : leg.o $(OBJS) +- $(CC) $(CFLAGS) -o $@-new leg.o $(OBJS) ++ $(CC) $(CFLAGS) $(LDFLAGS) -o $@-new leg.o $(OBJS) + mv $@-new $@ + +-ROOT = +-PREFIX = /usr/local +-BINDIR = $(ROOT)$(PREFIX)/bin +- +-install : $(BINDIR)/peg $(BINDIR)/leg +- +-$(BINDIR)/% : % +- cp -p $< $@ +- strip $@ ++PREFIX ?= /usr/local ++BINDIR ?= $(PREFIX)/bin ++ ++INSTALL ?= install ++INSTALL_PROG ?= $(INSTALL) -m755 ++ ++install : all ++ $(INSTALL) -d $(BINDIR) ++ $(INSTALL_PROG) peg $(BINDIR)/peg ++ $(INSTALL_PROG) leg $(BINDIR)/leg + + uninstall : .FORCE + rm -f $(BINDIR)/peg diff --git a/dev-util/peg/peg-0.1.8.ebuild b/dev-util/peg/peg-0.1.8.ebuild deleted file mode 100644 index 92cb7b7ec..000000000 --- a/dev-util/peg/peg-0.1.8.ebuild +++ /dev/null @@ -1,28 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI=4 - -inherit eutils toolchain-funcs - -DESCRIPTION="Tools for generating recursive-descent parsers" -HOMEPAGE="http://piumarta.com/software/peg/" -SRC_URI="http://piumarta.com/software/${PN}/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~x86" -IUSE="" - -src_prepare() { - epatch "${FILESDIR}/${P}-Makefile.patch" -} - -src_compile() { - emake CC="$(tc-getCC)" -} - -src_install() { - emake PREFIX="${D}/usr" install -} diff --git a/dev-util/peg/peg-0.1.9.ebuild b/dev-util/peg/peg-0.1.9.ebuild new file mode 100644 index 000000000..92cb7b7ec --- /dev/null +++ b/dev-util/peg/peg-0.1.9.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=4 + +inherit eutils toolchain-funcs + +DESCRIPTION="Tools for generating recursive-descent parsers" +HOMEPAGE="http://piumarta.com/software/peg/" +SRC_URI="http://piumarta.com/software/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~x86" +IUSE="" + +src_prepare() { + epatch "${FILESDIR}/${P}-Makefile.patch" +} + +src_compile() { + emake CC="$(tc-getCC)" +} + +src_install() { + emake PREFIX="${D}/usr" install +} -- cgit v1.2.3-65-gdbad