diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 20:57:42 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 20:57:42 +0100 |
commit | 1798c4aeca70ac8d0a243684d6a798fbc65735f8 (patch) | |
tree | e48e19cb6fa03de18e1c63e1a93371b7ebc4eb56 /dev-libs/shhopt | |
parent | d87262dd706fec50cd150aab3e93883b6337466d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-libs/shhopt')
-rw-r--r-- | dev-libs/shhopt/Manifest | 4 | ||||
-rw-r--r-- | dev-libs/shhopt/files/shhopt-1.1.7-build.patch | 83 | ||||
-rw-r--r-- | dev-libs/shhopt/metadata.xml | 9 | ||||
-rw-r--r-- | dev-libs/shhopt/shhopt-1.1.7-r2.ebuild | 38 |
4 files changed, 0 insertions, 134 deletions
diff --git a/dev-libs/shhopt/Manifest b/dev-libs/shhopt/Manifest deleted file mode 100644 index 52123e0afd42..000000000000 --- a/dev-libs/shhopt/Manifest +++ /dev/null @@ -1,4 +0,0 @@ -AUX shhopt-1.1.7-build.patch 1880 BLAKE2B c1cc6e625872107bfb1e0f8578267dca5b8bac87b41fbb01b5a881f4c7d389b53bac67deb86d47139e6ae3d257a4bff2335af507b1f7d5fd719c2088988bfecc SHA512 980b6796678213fd1538da374eba084a67c8a48e446083b86f280c00f355b0a45bc679431991156fd99b983a1d20b07f612389a129e1789a905b8e9967a42a37 -DIST shhopt-1.1.7.tar.gz 9923 BLAKE2B 4f9fb23a67c03caf6c56227729a681eac3ee9c78e16f56d6fedd2b1cdbe56471150d9e91ecf84945348078d03102aa7e7cc98b4cf11dda6f5da79d1edc48b96d SHA512 bd985d50e87808b5c6993496ba3e7c255d47895d90e108f03fd72bb273e786730898048af3b30ca29cb5dbd058f2ea178ca73b6362211c50aa0eb75f743b5ec8 -EBUILD shhopt-1.1.7-r2.ebuild 755 BLAKE2B b7dfa83327287fc7864412c98ad5371b02fbeb728638a0ce061a88a05479485e9983d9a4011fa0fad0449b65b55f2e47540906fd38f3a0c6a5764d60744b8eea SHA512 de5d809cc761dadc3cc74dd2b8abf83c8bc77dbdc689f172babfe47b4591beb9e8a87c97b0716f3b3fa2f704b7ec0e2c21321ac9f0168f615a57d65dee373e4d -MISC metadata.xml 341 BLAKE2B 738802ec66db2e5052eb57b90dd0076cca1afbdca62fa325f920f0ec6f4ff4b78f886402783ad6f97c7b10e4e2ec10bbaf1bf2bc8823bd48d048c35141a6cb77 SHA512 276ee6e17baeb1981c1c912b4f281d7eb71b171492d00d5ce522c3d6defbba4eef3dd87b43d4ec02eda21cfe148f2b0dcbe04d7dbd9a42918168844b563427f4 diff --git a/dev-libs/shhopt/files/shhopt-1.1.7-build.patch b/dev-libs/shhopt/files/shhopt-1.1.7-build.patch deleted file mode 100644 index d1d5606faab6..000000000000 --- a/dev-libs/shhopt/files/shhopt-1.1.7-build.patch +++ /dev/null @@ -1,83 +0,0 @@ ---- Makefile -+++ Makefile -@@ -5,20 +5,15 @@ - VERPAT = 7 - VERSION = $(VERMAJ).$(VERMIN).$(VERPAT) - --# Define SHARED as 1 for Linux shared ELF library --#SHARED = 1 -- --ifeq ($(SHARED),1) - LIBTARGET = lib$(DIST).so.$(VERSION) - LIBTARGETSO = lib$(DIST).so - LIBTARGETSOMAJ = $(LIBTARGETSO).$(VERMAJ) - CCSHRD = -fPIC --else --LIBTARGET = lib$(DIST).a --endif -+ -+LIBTARGETA = lib$(DIST).a - - LIBHEAD = $(DIST).h --TARGETS = $(LIBTARGET) -+TARGETS = $(LIBTARGET) $(LIBTARGETA) - - INSTBASEDIR = /usr/local - INSTLIBDIR = $(INSTBASEDIR)/lib -@@ -27,12 +22,12 @@ - INSTALLPROG = install -m 755 - MKDIRP = install -d -m 755 - --CC = gcc --OPTIM = -O2 -- --INCDIR = -I. -- --CCOPT = -s -Wall $(OPTIM) $(INCDIR) -+CC ?= gcc -+AR ?= ar -+ARFLAGS ?= rc -+RANLIB ?= ranlib -+CPPFLAGS += -I. -+CFLAGS += -Wall - - # Object files to store in the library - LIBOBJS = shhopt.o -@@ -43,21 +38,19 @@ - # don't worry if you get ranlib not found errors. This probably means - # that your ar does an implicit ranlib and you do not need to run ranlib - # separately. This error is harmless. --$(LIBTARGET): $(LIBOBJS) --ifeq ($(SHARED),1) -- $(CC) -shared -Wl,-soname,$(LIBTARGETSOMAJ) -o $(LIBTARGET) $(LIBOBJS) --else -- ar rc $(LIBTARGET) $(LIBOBJS) -- ranlib $(LIBTARGET) || true --endif -+$(LIBTARGET): $(LIBOBJS:.o=.lo) -+ $(CC) $(CFLAGS) $(LDFLAGS) -shared -Wl,-soname,$(LIBTARGETSOMAJ) -o $@ $^ -+$(LIBTARGETA): $(LIBOBJS) -+ $(AR) $(ARFLAGS) $@ $^ -+ $(RANLIB) $@ - - # Note that you may need GNU's -liberty if your libc lacks strtoul - example: $(LIBTARGET) example.o - $(CC) -o example example.c \ - -L. -I. -L$(INSTLIBDIR) -I$(INSTINCDIR) -lshhopt - --.c.o: -- $(CC) $(CCSHRD) -o $@ -c $(CCOPT) $< -+%.lo: %.c -+ $(COMPILE.c) $(CCSHRD) $^ -o $@ - - depend dep: - $(CC) $(INCDIR) -MM *.c >depend -@@ -73,7 +66,7 @@ - endif - - clean: -- rm -f *.o core *~ depend -+ rm -f *.o *.lo *.so* *.a core *~ depend - - chmod: - chmod a+r * diff --git a/dev-libs/shhopt/metadata.xml b/dev-libs/shhopt/metadata.xml deleted file mode 100644 index a5c1e1643e18..000000000000 --- a/dev-libs/shhopt/metadata.xml +++ /dev/null @@ -1,9 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <!-- maintainer-needed --> - <longdescription lang="en"> - C-functions for parsing command line options, both traditional - one-character options, and GNU'ish --long-options. - </longdescription> -</pkgmetadata> diff --git a/dev-libs/shhopt/shhopt-1.1.7-r2.ebuild b/dev-libs/shhopt/shhopt-1.1.7-r2.ebuild deleted file mode 100644 index e1e22d5e57ea..000000000000 --- a/dev-libs/shhopt/shhopt-1.1.7-r2.ebuild +++ /dev/null @@ -1,38 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=0 - -inherit eutils - -DESCRIPTION="library for parsing command line options" -HOMEPAGE="http://shh.thathost.com/pub-unix/" -SRC_URI="http://shh.thathost.com/pub-unix/files/${P}.tar.gz" - -LICENSE="Artistic" -SLOT="0" -KEYWORDS="amd64 ppc x86" -IUSE="" - -DEPEND="" -RDEPEND="" - -src_unpack() { - unpack ${A} - cd "${S}" - epatch "${FILESDIR}"/${P}-build.patch -} - -src_compile() { - emake CC=$(tc-getCC) || die -} - -src_install() { - dolib.a libshhopt.a || die - ln -s libshhopt.so.${PV} libshhopt.so - ln -s libshhopt.so.${PV} libshhopt.so.${PV:0:1} - dolib.so libshhopt.so* || die - insinto /usr/include - doins shhopt.h - dodoc ChangeLog CREDITS INSTALL README TODO -} |