summaryrefslogtreecommitdiff
path: root/app-text/htp
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /app-text/htp
reinit the tree, so we can have metadata
Diffstat (limited to 'app-text/htp')
-rw-r--r--app-text/htp/Manifest6
-rw-r--r--app-text/htp/files/strip.patch15
-rw-r--r--app-text/htp/htp-1.16-r1.ebuild49
-rw-r--r--app-text/htp/metadata.xml11
4 files changed, 81 insertions, 0 deletions
diff --git a/app-text/htp/Manifest b/app-text/htp/Manifest
new file mode 100644
index 000000000000..4ca33a5ef909
--- /dev/null
+++ b/app-text/htp/Manifest
@@ -0,0 +1,6 @@
+AUX strip.patch 261 SHA256 d38007bf4e0d835f25e99b0acea17538e241db170a703df59d3ee38350a01760 SHA512 2f2a9afb828e9de08fa97ca2798a0d2dc6f65cbf192cbc749c3790ed542f75c49c5fbb4644fb8017f93dc24a42c584914d5659841a211c1fe74a3aa43be633e4 WHIRLPOOL 14c54bdcd0feb197127fda6fce441d0d0c582cb5a4e21522eb384bb5c6ef744bc6567d95277491c60d1472df3c7635b292b4c80744c4494bc1a5537c3db54771
+DIST htp-1.16.tar.gz 141133 SHA256 905da83203be2d45d8bf0e454010ed73b78588dc65c0725b9ed712f01b7da8f2 SHA512 f33a9497fc3a1d0b95d8e3ee2747583d58626b565644e7c8cc054570458907aac9db42c6fa816b176b0e10db98ec7d1cedb521406035a8e7173e1abd991533a0 WHIRLPOOL 6b7d7da22fbd6768099fa333a897e4cf968becd565a41831f91fc033a74ac09ad0ada06c9fe1b26ca6bb742d61f61fe0c13c7a5da578f4db2b61fe66e37ceea8
+EBUILD htp-1.16-r1.ebuild 1254 SHA256 ee92b53bc2511cc476329eba1f738012dccddafe31d94529f73c9fe06ce62606 SHA512 0217b514defbe8cbf8bfee84c53287a3bd93b1841b4ae3c2bbd8927833174321c77e4b67c26d0587cfc0d855e76497af42cf04b179eb39a0cd2a218042a3b897 WHIRLPOOL bf9ae12cc1bcd78f1450d9f2b789ca6de5d167d741e5c856336dd5bd6a57114049adbf4a990f25369b73c658faafb070ac7c7dbc7c59d04dbe1f9b1223e7a354
+MISC ChangeLog 2439 SHA256 819ee271e935b5f86e1ab5f5d2a1b8df92af503df568295f699f4e2b788f4259 SHA512 350cc0c5061bcef59505205fda74fa605217747b301db385e07f97852058afbf2b05ce5bc039108959503528202b032aa47673a5f05df204f7887f8ba43dae86 WHIRLPOOL 2496089845071c2ea90f708cd34396ced15bf8ebf2c189247b94eb772c4424c10bc906811c3e05e1f67bc17a1334c4b67f742783736887694587fcf8da636604
+MISC ChangeLog-2015 1677 SHA256 5f14906ff8ca54c35ceb415a4ac7cccd75bf40b2f5c36093569d992b0bbfd73c SHA512 b7ed696acae3fefdd8cdd09025191096d994905f5e02888bdf13c02bc18da13c112e565ff98323368917aa9651583f2a3aa5a3ad19ec2acda5d0bf0a71f2f596 WHIRLPOOL 9c27eb82d66bb82e9e1d1082377c867b6ff0cf465c73c6c24d3c532a3365b50cdc76d803ef2c3756d43d9bb27de0967c4a6ee32ffffedff9f92e8a13c6ef9448
+MISC metadata.xml 323 SHA256 b67254295d941a7a222937357af09c925cb6a5b577a3be8ecaac6c5779eba255 SHA512 f5c0a7720bd23aa0c604e0ffa07e2925afe69f9af09c9364818e16197fdf55c1decac5839234cdb08e483be1bfb4d0a88279e57c2b48c0002d3de27e90616f26 WHIRLPOOL 22d08e9ded205287b796e1d9a4b14b2dd60ea5bb1ba2f4304f931b903dd068af37b696d4c2d81444f120fe93552c140289408ab086fd542f6dba2987fd80a62a
diff --git a/app-text/htp/files/strip.patch b/app-text/htp/files/strip.patch
new file mode 100644
index 000000000000..9c92e757bc9e
--- /dev/null
+++ b/app-text/htp/files/strip.patch
@@ -0,0 +1,15 @@
+don't strip
+
+http://bugs.gentoo.org/240110
+
+--- src/Makefile
++++ src/Makefile
+@@ -33,7 +33,7 @@
+
+ install-bin: $(MAINEXE)
+ mkdir -p $(bindir)
+- $(INSTALL) -s $(MAINEXE) $(bindir)
++ $(INSTALL) $(MAINEXE) $(bindir)
+
+ #
+ # explicit dependency: final executable
diff --git a/app-text/htp/htp-1.16-r1.ebuild b/app-text/htp/htp-1.16-r1.ebuild
new file mode 100644
index 000000000000..f3fd15c02c87
--- /dev/null
+++ b/app-text/htp/htp-1.16-r1.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="An HTML preprocessor"
+HOMEPAGE="http://htp.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="Clarified-Artistic"
+SLOT="0"
+KEYWORDS="~alpha ~ppc ~sparc ~x86"
+IUSE=""
+
+# HTP does not use autoconf, have to set options defined in Makefile.config
+
+src_prepare() {
+ epatch "${FILESDIR}"/strip.patch #240110
+ # let src_test take care of testing
+ sed -i -e '/SUBDIRS /s:tests::' Makefile || die
+ # don't install doc files with +x perms
+ sed -i -e '$aINSTALL += -m644' homepage/ref/{*/,}Makefile || die
+ # make src_test abort on failure
+ sed -i -e '/DIFF.*FAILED/s/echo/exit 1; :/' tests/Makefile || die
+ # the png file in this test isn't fetchable
+ sed -i -e 's: width="630" height="331"::' tests/png.html.exp || die
+}
+
+src_compile() {
+ emake \
+ CCOPT="-c ${CFLAGS} ${CPPFLAGS} -DHAVE_SNPRINTF -DHAVE_VASPRINTF -DHAVE_ASPRINTF" \
+ CC="$(tc-getCC)" \
+ LINK='$(CC) $(LDFLAGS)' \
+ || die
+}
+
+src_test() {
+ emake -C tests || die
+}
+
+src_install() {
+ emake \
+ DESTDIR="${D}" \
+ prefix='$(DESTDIR)/usr' \
+ pkgdocdir='$(DESTDIR)/usr/share/doc/${PF}/html' \
+ install || die
+}
diff --git a/app-text/htp/metadata.xml b/app-text/htp/metadata.xml
new file mode 100644
index 000000000000..ae333307c43c
--- /dev/null
+++ b/app-text/htp/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>web-apps@gentoo.org</email>
+ <name>Gentoo Webapps</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">htp</remote-id>
+ </upstream>
+</pkgmetadata>