mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 12:58:16 -07:00
dev-db/tinycdb: drop old
Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Akinori Hattori <hattya@gentoo.org>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST tinycdb-0.78.tar.gz 36754 BLAKE2B 41f4256840645acd28296c5473087c7cf4c026f068310375b3c305430c030b1c946f53fd3e09967d77b592ba84e7e56518fdb18e54d1e0f5e7dd552a1664a0ec SHA512 8930086b8e7fddcd4dbd3354c5f5ee05171df68fde1cc222b6c402430042b6e761efbad7e5fa8de18e1d36390f1526cc3e605c5086fe1c363ba1df6c03201553
|
||||
DIST tinycdb_0.77.tar.gz 37728 BLAKE2B bebcc6128b253fa9e64438ed2671488153d70cf452bd0686a90ebd5360b725ab784b4537b25fe2ea9de0281cb1bb2fa29beb5f3515aed90fd7e2965f7e5e38bd SHA512 cfc830578a9be49781a1dbade97b64ec13293853093719aeb9a403c128245f157fd1d2d7e6941966bdea00b472127f10f11672583ba06ccc6e49151b22bf4c9a
|
||||
|
||||
@@ -1,11 +0,0 @@
|
||||
--- a/cdb.c
|
||||
+++ b/cdb.c
|
||||
@@ -21,6 +21,8 @@
|
||||
#include <stdarg.h>
|
||||
#include <fcntl.h>
|
||||
#include <errno.h>
|
||||
+#include <sys/types.h> /* umask() */
|
||||
+#include <sys/stat.h> /* umask() */
|
||||
#include "cdb.h"
|
||||
|
||||
#ifndef EPROTO
|
||||
@@ -1,52 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="6"
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="A very fast and simple package for creating and reading constant data bases"
|
||||
HOMEPAGE="http://www.corpit.ru/mjt/tinycdb.html"
|
||||
SRC_URI="http://www.corpit.ru/mjt/${PN}/${P/-/_}.tar.gz"
|
||||
|
||||
LICENSE="public-domain"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm64 ~hppa ~ia64 ~mips ppc x86"
|
||||
IUSE="static-libs"
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND="!dev-db/cdb"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-gentoo.patch
|
||||
"${FILESDIR}"/${PN}-umask.patch
|
||||
"${FILESDIR}"/${PN}-uclibc.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
sed -i "/^libdir/s:/lib:/$(get_libdir):" Makefile
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local targets="shared"
|
||||
use static-libs && targets+=" staticlib piclib"
|
||||
|
||||
emake \
|
||||
CC="$(tc-getCC)" \
|
||||
CFLAGS="${CFLAGS} ${LDFLAGS}" \
|
||||
${targets}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local targets="install install-sharedlib"
|
||||
use static-libs && targets+=" install-piclib"
|
||||
|
||||
emake \
|
||||
prefix="${EPREFIX}"/usr \
|
||||
mandir="${EPREFIX}"/usr/share/man \
|
||||
DESTDIR="${D}" \
|
||||
${targets}
|
||||
einstalldocs
|
||||
}
|
||||
Reference in New Issue
Block a user