summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2017-08-14 23:11:51 +0200
committerMichał Górny <mgorny@gentoo.org>2017-08-14 23:24:19 +0200
commitf3beca2260265fe3ad95344c9f64d3595325c2eb (patch)
treec068b91af05d7916b62a885ca374ae0a18f27fd4 /sys-libs
parentsys-power/yacpi: Remove last-rited pkg, #587288 (diff)
downloadgentoo-f3beca2260265fe3ad95344c9f64d3595325c2eb.tar.gz
gentoo-f3beca2260265fe3ad95344c9f64d3595325c2eb.tar.bz2
gentoo-f3beca2260265fe3ad95344c9f64d3595325c2eb.zip
sys-libs/libacpi: Remove last-rited pkg, #587284
Diffstat (limited to 'sys-libs')
-rw-r--r--sys-libs/libacpi/Manifest1
-rw-r--r--sys-libs/libacpi/files/libacpi-0.2.patch81
-rw-r--r--sys-libs/libacpi/libacpi-0.2.ebuild28
-rw-r--r--sys-libs/libacpi/metadata.xml4
4 files changed, 0 insertions, 114 deletions
diff --git a/sys-libs/libacpi/Manifest b/sys-libs/libacpi/Manifest
deleted file mode 100644
index 1835177cca1a..000000000000
--- a/sys-libs/libacpi/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST libacpi-0.2.tar.gz 104881 SHA256 13086e31d428b9c125954d48ac497b754bbbce2ef34ea29ecd903e82e25bad29 SHA512 0295722a4605f69d606e6a28abfa4e8d2f23bf3423b6a05d1e3d41647804f98c9833b7d82b43696ec2eae7e83b77e4974e0ece80ed135876dee24bea8cd9a54a WHIRLPOOL 391d19672fa53dd993bb9311acfeb669d371bd783feba3eca517372aa7ee68185b1bc8af5a5904558c51651d8fa30ed809b73ae429a973ac427520a7fba84393
diff --git a/sys-libs/libacpi/files/libacpi-0.2.patch b/sys-libs/libacpi/files/libacpi-0.2.patch
deleted file mode 100644
index f3f2b5e98cca..000000000000
--- a/sys-libs/libacpi/files/libacpi-0.2.patch
+++ /dev/null
@@ -1,81 +0,0 @@
---- config.mk
-+++ config.mk
-@@ -3,15 +3,17 @@
- SONAME = libacpi.so.${SOVERSION}
-
- # customize below to fit your system
--PREFIX = /usr/local
-+PREFIX = /usr
- MANPREFIX = ${PREFIX}/share/man
-+DOCDIR = ${PREFIX}/share/doc/libacpi-${VERSION}
-+LIBDIR = ${PREFIX}/lib
-
- # flags
- SOFLAGS = -shared -Wl,-soname,${SONAME}
--CFLAGS += -fPIC -g --pedantic -Wall -Wextra
-+CFLAGS += -fPIC -pedantic -Wall -Wextra
-
- # Compiler and linker
--CC = cc
-+CC ?= cc
- LD = ${CC}
--AR = ar cr
--RANLIB = ranlib
-+AR ?= ar
-+RANLIB ?= ranlib
---- Makefile
-+++ Makefile
-@@ -25,30 +25,29 @@
-
- libacpi.a: ${OBJ}
- @echo AR $@
-- @${AR} $@ ${OBJ}
-+ @${AR} cr $@ ${OBJ}
- @${RANLIB} $@
-
- libacpi.so: ${OBJ}
- @echo LD $@
-- @${LD} ${SOFLAGS} -o $@.${SOVERSION} ${OBJ}
-+ @${LD} ${LDFLAGS} ${SOFLAGS} -o $@.${SOVERSION} ${OBJ}
-
- test-libacpi: ${OBJ_test}
- @echo LD $@
-- @${LD} -o $@ ${OBJ_test} ${LDFLAGS}
-- @strip $@
-+ @${LD} ${LDFLAGS} -o $@ ${OBJ_test}
-
- install: all
- @echo installing header to ${DESTDIR}${PREFIX}/include
- @mkdir -p ${DESTDIR}${PREFIX}/include
- @cp -f libacpi.h ${DESTDIR}${PREFIX}/include
- @chmod 644 ${DESTDIR}${PREFIX}/include/libacpi.h
-- @echo installing library to ${DESTDIR}${PREFIX}/lib
-- @mkdir -p ${DESTDIR}${PREFIX}/lib
-- @cp -f libacpi.a ${DESTDIR}${PREFIX}/lib
-- @chmod 644 ${DESTDIR}${PREFIX}/lib/libacpi.a
-- @cp -f ${SONAME} ${DESTDIR}${PREFIX}/lib/
-- @chmod 644 ${DESTDIR}${PREFIX}/lib/${SONAME}
-- @ln -s ${SONAME} ${DESTDIR}${PREFIX}/lib/libacpi.so
-+ @echo installing library to ${DESTDIR}${LIBDIR}
-+ @mkdir -p ${DESTDIR}${LIBDIR}
-+ @cp -f libacpi.a ${DESTDIR}${LIBDIR}
-+ @chmod 644 ${DESTDIR}${LIBDIR}/libacpi.a
-+ @cp -f ${SONAME} ${DESTDIR}${LIBDIR}/
-+ @chmod 644 ${DESTDIR}${LIBDIR}/${SONAME}
-+ @ln -s ${SONAME} ${DESTDIR}${LIBDIR}/libacpi.so
- @echo installing test-libacpi to ${DESTDIR}${PREFIX}/bin
- @mkdir -p ${DESTDIR}${PREFIX}/bin
- @cp -f test-libacpi ${DESTDIR}${PREFIX}/bin
-@@ -56,9 +55,9 @@
- @echo installing manual page to ${DESTDIR}${MANPREFIX}/man3
- @mkdir -p ${DESTDIR}${MANPREFIX}/man3
- @cp libacpi.3 ${DESTDIR}${MANPREFIX}/man3
-- @echo installing documentation and misc files to ${DESTDIR}${PREFIX}/share/doc/libacpi
-- @mkdir -p ${DESTDIR}${PREFIX}/share/doc/libacpi
-- @cp -r AUTHORS CHANGES README LICENSE doc ${DESTDIR}${PREFIX}/share/doc/libacpi
-+ @echo installing documentation and misc files to ${DESTDIR}${DOCDIR}
-+ @mkdir -p ${DESTDIR}${DOCDIR}
-+ @cp -r AUTHORS CHANGES README doc/* ${DESTDIR}${DOCDIR}
- @echo finished installation
-
- uninstall:
diff --git a/sys-libs/libacpi/libacpi-0.2.ebuild b/sys-libs/libacpi/libacpi-0.2.ebuild
deleted file mode 100644
index fc3ead04eade..000000000000
--- a/sys-libs/libacpi/libacpi-0.2.ebuild
+++ /dev/null
@@ -1,28 +0,0 @@
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=2
-inherit eutils multilib toolchain-funcs
-
-DESCRIPTION="A general purpose library for ACPI"
-HOMEPAGE="http://www.ngolde.de/libacpi.html"
-SRC_URI="http://www.ngolde.de/download/${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-src_prepare() {
- epatch "${FILESDIR}"/${P}.patch
-}
-
-src_compile() {
- tc-export AR CC RANLIB
- emake || die
-}
-
-src_install() {
- emake DESTDIR="${D}" LIBDIR="/usr/$(get_libdir)" install || die
- prepalldocs
-}
diff --git a/sys-libs/libacpi/metadata.xml b/sys-libs/libacpi/metadata.xml
deleted file mode 100644
index 097975e3adc2..000000000000
--- a/sys-libs/libacpi/metadata.xml
+++ /dev/null
@@ -1,4 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-</pkgmetadata>