summaryrefslogtreecommitdiff
path: root/net-misc/hsc
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 /net-misc/hsc
reinit the tree, so we can have metadata
Diffstat (limited to 'net-misc/hsc')
-rw-r--r--net-misc/hsc/Manifest9
-rw-r--r--net-misc/hsc/files/hsc-1.0b-cflags.patch45
-rw-r--r--net-misc/hsc/files/hsc-1.0b-glibc-2.10.patch12
-rw-r--r--net-misc/hsc/files/hsc-1.0b-nostrip.patch18
-rw-r--r--net-misc/hsc/files/hsc-1.0b-parmake.patch13
-rw-r--r--net-misc/hsc/hsc-1.0b.ebuild32
-rw-r--r--net-misc/hsc/metadata.xml8
7 files changed, 137 insertions, 0 deletions
diff --git a/net-misc/hsc/Manifest b/net-misc/hsc/Manifest
new file mode 100644
index 000000000000..f5d4b16d48d0
--- /dev/null
+++ b/net-misc/hsc/Manifest
@@ -0,0 +1,9 @@
+AUX hsc-1.0b-cflags.patch 1457 SHA256 e68799c24a8caae3cd269e3d1d1a3af966e6c408dc02568227c505207a27e76a SHA512 064783365d4058b6ad163958e2bd7e643000dc1f19a97a97b6aad9fef24165614ad965796cb689a6ee443dae017e8f64a807fe12fd734a1e16f886e23c6ca187 WHIRLPOOL d8c4caaa9e06dee034cd08ae57e703d627fadb870b2dfe144dc3ecbfa3b90c4310514fe449e7c4b39ea205f476541234dbf2a3ddfb999edd5aec2c7b25472f3c
+AUX hsc-1.0b-glibc-2.10.patch 352 SHA256 ed559424b32ed0f3d5bfc03d67b1942208f86b22c2c1c478243ff98f9e9c9b43 SHA512 99310e6574f073dfa3112503a2a8bd5c91c5e28985f885c5626a6e97bf5b3ac4bc6f44804412e7a5980aaf4ee9db41e3d65317a01138893806e12f3f9878c75a WHIRLPOOL dcedd69f69944cff3197b06b421bcd08cc0cbe18eace00fdc368b9482386c385a885ddfd94b118c4d50d29aa80f7bf0aa24ad343e3ae46786adcf54c98ad2ec1
+AUX hsc-1.0b-nostrip.patch 709 SHA256 6781cd053b812e47f8059284c1fd9037ecd8b808475bb0a2817cb9a858b27c9a SHA512 e20880fa90f2ce359c9c92195019649880b601c3eb9e41770ba403bd3ffedc397e24bab8edc046d2d75c8d2a41bb09f8c4861bc1c229e62c6492a8cd7d1bd5b5 WHIRLPOOL a050dba9c9363dfc1f73b4fa8270c46c3032bc1c25bb77a3a990615f4a938020d479b4fd337cdcab0b3729bbd94871f28d95f59e782f9d4bc19a4b113d882a09
+AUX hsc-1.0b-parmake.patch 315 SHA256 8bb6afebbc15735d87577c1c22319f99f9d1e784bfc93304bbc282ce05a6a427 SHA512 33c4e194eecb5a6ba62cf88ff459283f54fbe632dc9e42234dbbf26862cecd9793268d481d57bbbc2daed7a3a606879f1f963b36c3ec7d13a4f519ff9da98426 WHIRLPOOL d6287b274baaecbeac7ab964efe16de996091744085872407caf5d55922f84027e97ab7084a89804535270181d9a41b0689a09135b62231c9ff478c5ac3f89c9
+DIST hsc-1.0b.tar.bz2 623192 SHA256 4c3e4b7a96851d8a8cd4c0ce7135c9730f2fb63b0ae3555183b0285d04b38a81 SHA512 2fec8eb932f30b6e46a4f87c2baa2d3070375a068bcdf57ee5dbbbe3839d11b18a376ddde3d66751a4b35099d37007334c2a9183e05393cc3ac31481cc75fe97 WHIRLPOOL c03cf11bb76c6ccf4b5162a512898768773006ef7a9c35f1c3e60b2b80428bb4a2fa8ddd75b78ef7dd7f98ca879371a70ab5628dd55acb567a7de91db65a547c
+EBUILD hsc-1.0b.ebuild 873 SHA256 1b14d0942bcd8f429a583145784fdfdaa9c71d600bf716d2dc3c07a4faf95209 SHA512 0798285ab4c13ea00bb7527a8fb90a5bec7a0ae957822351976c0a5a0f95b1bcd8e6c41e394c848dc3580f685be1f8c80d1a7ae16e8786e3f686693064c4dc1a WHIRLPOOL c0a291b46c1218af2f191280cabc512c97caf65de823375d5ac48b890aecf9929b95b1826c9d77aece86726908bc4438aced6caed577a31652d4b9b99dcc32e7
+MISC ChangeLog 2543 SHA256 5bdcc7f801aa7bb3db5cf6862d7cfe09bf77cdcc5fee44a6aafec01d12d50d9a SHA512 287041afd7fa0fc441a68cf1a54a74ca6da999d5b120aea2baadad96d472d56cd2b3e939da77e59a8f2fad018a6f677517357d44452ef3f27f254d6045a7b997 WHIRLPOOL 5ffdaecb6655ca3d995dc5919ced24badffcbd0c6111bb793f64de6e23eb61d25379e89f5b351df29e477361d37964498ea639ac6118d5dbaa495dbb7bbae7f1
+MISC ChangeLog-2015 2771 SHA256 72ca183df39765bf825b11b565d4a898e54940bc5c568a373b16c25421815bad SHA512 de2a0be5b951845b993a126d125bb319a043a0e9c3c7c96eebf6b7ca99e687fcc642eeb47b45cd29b68247ebb0e763d897c28b3582088a03101c8d46de8a3058 WHIRLPOOL 918b51e6733bc7ae1346f4d5cc2940c5d0e1311feb2f98ff41afc2d96a86e18b05cb85db36de5f046f5a0748d177ef173fa18959b51819b6bb13b09b59eb7d1e
+MISC metadata.xml 243 SHA256 5e9b58b0b795266f973d066675839499e3a56d7d932d702404a4b91ded8eb26c SHA512 1c5b4b2163017e496999d1f87e5c9c5ac6c11b2e9187450ccfb3df258f34e54d278972f04ee0e8429476c6f87e091a869ac2a28c6e8c8e6d20678c3e74061449 WHIRLPOOL 085df2e84901cbe563c7c1d30d04c229547f15f8ee26ac61d44d07c3f6999f2bbfa4cf309963172fb507cce5450d27598b762c3ccab92351601965c3afc05e3a
diff --git a/net-misc/hsc/files/hsc-1.0b-cflags.patch b/net-misc/hsc/files/hsc-1.0b-cflags.patch
new file mode 100644
index 000000000000..1459d5ad049a
--- /dev/null
+++ b/net-misc/hsc/files/hsc-1.0b-cflags.patch
@@ -0,0 +1,45 @@
+Index: hsc-1.0/configure.in
+===================================================================
+--- hsc-1.0.orig/configure.in
++++ hsc-1.0/configure.in
+@@ -46,12 +46,12 @@ case $host in
+ ;;
+ esac
+ echo "Configuring for $SYSTEM"
+-CFLAGS="-Wall -pedantic"
++CFLAGS="$CFLAGS -Wall -pedantic"
+
+ AC_ARG_ENABLE(debug,
+ AS_HELP_STRING([--enable-debug],[Compile programs with GDB support and debugging output]),
+ [CFLAGS="$CFLAGS -ggdb -g3 -DDEBUG"; REGEXDEBUG="regex/printchar.o"],
+- CFLAGS="$CFLAGS -fomit-frame-pointer -Os")
++ CFLAGS="$CFLAGS")
+ AC_ARG_ENABLE(efence,
+ AS_HELP_STRING([--enable-efence],[Link with efence library for memory debugging]),
+ CFLAGS="$CFLAGS -lefence")
+Index: hsc-1.0/src/regex/Makefile.in
+===================================================================
+--- hsc-1.0.orig/src/regex/Makefile.in
++++ hsc-1.0/src/regex/Makefile.in
+@@ -29,7 +29,7 @@ version = 0.12
+ CPPFLAGS =
+
+ # Likewise, you can override CFLAGS to optimize, use -Wall, etc.
+-CFLAGS = -g
++#CFLAGS = -g
+
+ # Ditto for LDFLAGS and LOADLIBES.
+ LDFLAGS =
+Index: hsc-1.0/src/Makefile.in
+===================================================================
+--- hsc-1.0.orig/src/Makefile.in
++++ hsc-1.0/src/Makefile.in
+@@ -27,7 +27,7 @@ DATADIR=@datadir@
+
+ CFLAGS = @CFLAGS@ -D@SYSTEM@ -I.
+ COMP = @CC@ -o $@ $(CFLAGS)
+-LINK = @CC@ -o $@ $(CFLAGS)
++LINK = @CC@ -o $@ $(CFLAGS) $(LDFLAGS)
+ LINKLIBS= @LINKLIBS@
+ MOVE = mv
+ COPY = cp
diff --git a/net-misc/hsc/files/hsc-1.0b-glibc-2.10.patch b/net-misc/hsc/files/hsc-1.0b-glibc-2.10.patch
new file mode 100644
index 000000000000..5c10efc0f9a2
--- /dev/null
+++ b/net-misc/hsc/files/hsc-1.0b-glibc-2.10.patch
@@ -0,0 +1,12 @@
+diff -ur hsc-1.0.orig/src/hsclib/css.c hsc-1.0/src/hsclib/css.c
+--- hsc-1.0.orig/src/hsclib/css.c 2006-04-03 17:18:37.000000000 +0300
++++ hsc-1.0/src/hsclib/css.c 2009-08-09 20:19:51.000000000 +0300
+@@ -129,7 +129,7 @@
+ #ifdef isblank
+ #undef isblank
+ #endif
+-static int isblank(int c)
++int isblank(int c)
+ {
+ return ((c == ' ') || (c == '\t'));
+ }
diff --git a/net-misc/hsc/files/hsc-1.0b-nostrip.patch b/net-misc/hsc/files/hsc-1.0b-nostrip.patch
new file mode 100644
index 000000000000..af4cc947d8fd
--- /dev/null
+++ b/net-misc/hsc/files/hsc-1.0b-nostrip.patch
@@ -0,0 +1,18 @@
+Index: hsc-1.0/src/Makefile.in
+===================================================================
+--- hsc-1.0.orig/src/Makefile.in
++++ hsc-1.0/src/Makefile.in
+@@ -87,10 +87,9 @@ rex:
+ # installation
+ #--------------------------------------------------------------------
+ install : all
+- strip $(EXE_ALL)
+- $(INSTALL) -Ds hsc/hsc $(BINDIR)/hsc
+- $(INSTALL) -Ds hsctools/hscdepp $(BINDIR)/hscdepp
+- $(INSTALL) -Ds hsctools/hscpitt $(BINDIR)/hscpitt
++ $(INSTALL) -D hsc/hsc $(BINDIR)/hsc
++ $(INSTALL) -D hsctools/hscdepp $(BINDIR)/hscdepp
++ $(INSTALL) -D hsctools/hscpitt $(BINDIR)/hscpitt
+
+ #--------------------------------------------------------------------
+ # cleanup - remove all objects and executables
diff --git a/net-misc/hsc/files/hsc-1.0b-parmake.patch b/net-misc/hsc/files/hsc-1.0b-parmake.patch
new file mode 100644
index 000000000000..8c93d32f4888
--- /dev/null
+++ b/net-misc/hsc/files/hsc-1.0b-parmake.patch
@@ -0,0 +1,13 @@
+Index: hsc-1.0/Makefile.in
+===================================================================
+--- hsc-1.0.orig/Makefile.in
++++ hsc-1.0/Makefile.in
+@@ -30,7 +30,7 @@ all: hsc docs
+
+ hsc:
+ make -C src
+-docs:
++docs: hsc
+ PATH="$(shell pwd)/src/hsc:$(PATH)" HSCEXTRAOPTS="IGNORE=21" make -C docs-source
+
+ install:
diff --git a/net-misc/hsc/hsc-1.0b.ebuild b/net-misc/hsc/hsc-1.0b.ebuild
new file mode 100644
index 000000000000..6ac7d764f452
--- /dev/null
+++ b/net-misc/hsc/hsc-1.0b.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+inherit autotools eutils
+
+DESCRIPTION="An HTML preprocessor using ML syntax"
+HOMEPAGE="http://www.linguistik.uni-erlangen.de/~msbethke/software.html"
+SRC_URI="http://www.linguistik.uni-erlangen.de/~msbethke/binaries/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ~ppc x86"
+IUSE=""
+
+S=${WORKDIR}/${PN}-${PV/b/}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}/${P}-cflags.patch"
+ epatch "${FILESDIR}/${P}-nostrip.patch"
+ epatch "${FILESDIR}/${P}-parmake.patch"
+ epatch "${FILESDIR}"/${P}-glibc-2.10.patch
+ eautoreconf
+}
+
+src_install() {
+ dodir /usr/share/hsc
+ emake BINDIR="${D}/usr/bin" DATADIR="${D}/usr/share/hsc" \
+ prefix="${D}/usr" docdir="${D}/usr/share/doc/${PF}" \
+ datadir="${D}/usr/share/hsc" install || die "make install failed"
+}
diff --git a/net-misc/hsc/metadata.xml b/net-misc/hsc/metadata.xml
new file mode 100644
index 000000000000..ffac4d7ebc01
--- /dev/null
+++ b/net-misc/hsc/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>ml@gentoo.org</email>
+ <name>Gentoo ML Project</name>
+</maintainer>
+</pkgmetadata>