mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-10 15:45:15 -04:00
Merge updates from master
This commit is contained in:
1
dev-db/pg_repack/Manifest
Normal file
1
dev-db/pg_repack/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST pg_repack-1.4.5.tar.gz 94769 BLAKE2B e15c31b5c9337abf1b01483580734509c1611592efb9d8f5c3c218da7fe613477172e09708a58721579cd6c47f3935559a1a860fa638c74c23a1081e3a7ce312 SHA512 6aa2c6f72b6bfd6c5712bdad08aa1d7fe589da263259383d4546a8cfd881922e3f2bdac733ecd2a0c301f73a3909d8dad095029ddd33279cf580162f2e53f313
|
||||
8
dev-db/pg_repack/metadata.xml
Normal file
8
dev-db/pg_repack/metadata.xml
Normal file
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>contact@hacktivis.me</email>
|
||||
<name>Haelwenn (lanodan) Monnier</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
24
dev-db/pg_repack/pg_repack-1.4.5.ebuild
Normal file
24
dev-db/pg_repack/pg_repack-1.4.5.ebuild
Normal file
@@ -0,0 +1,24 @@
|
||||
# Copyright 2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
POSTGRES_COMPAT=( 9.4 9.5 9.6 10 11 12 )
|
||||
POSTGRES_USEDEP="server"
|
||||
|
||||
inherit postgres-multi
|
||||
|
||||
DESCRIPTION="RUM access method - inverted index with additional information in posting lists"
|
||||
HOMEPAGE="https://github.com/reorg/pg_repack"
|
||||
SRC_URI="https://github.com/reorg/pg_repack/archive/ver_${PV}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}/${PN}-ver_${PV}"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
DEPEND="${POSTGRES_DEP}"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
# Needs a running PostgreSQL server
|
||||
RESTRICT="test"
|
||||
@@ -48,6 +48,17 @@ src_compile() {
|
||||
# targets="${targets} api_test unit_test"
|
||||
#fi
|
||||
|
||||
echo "prefix=\"${EPREFIX}/usr\"" > ${PN}.pc
|
||||
echo "libdir=\"\${prefix}/$(get_libdir)\"" >> ${PN}.pc
|
||||
echo "includedir=\"\${prefix}/include\"" >> ${PN}.pc
|
||||
echo "" >> ${PN}.pc
|
||||
echo "Name: ${PN}" >> ${PN}.pc
|
||||
echo "Description: ${DESCRIPTION}" >> ${PN}.pc
|
||||
echo "URL: ${HOMEPAGE}" >> ${PN}.pc
|
||||
echo "Version: ${PV}" >> ${PN}.pc
|
||||
echo "Libs: \"-L\${libdir}\" -l${PN}" >> ${PN}.pc
|
||||
echo "Cflags: \"-I\${includedir}\"" >> ${PN}.pc
|
||||
|
||||
tc-export AR CC
|
||||
emake -f util/wren.mk LIBUV_DIR="${EPREFIX}/usr" LIBUV="${EPREFIX}/usr/$(get_libdir)/libuv.so" VERBOSE=1 ${targets}
|
||||
}
|
||||
@@ -60,4 +71,9 @@ src_install() {
|
||||
dolib.a lib/libwren.a
|
||||
fi
|
||||
dolib.so lib/libwren.so
|
||||
doheader src/include/wren.h
|
||||
doheader src/include/wren.hpp
|
||||
|
||||
insinto /usr/$(get_libdir)/pkgconfig
|
||||
doins ${PN}.pc
|
||||
}
|
||||
@@ -48,6 +48,17 @@ src_compile() {
|
||||
# targets="${targets} api_test unit_test"
|
||||
#fi
|
||||
|
||||
echo "prefix=\"${EPREFIX}/usr\"" > ${PN}.pc
|
||||
echo "libdir=\"\${prefix}/$(get_libdir)\"" >> ${PN}.pc
|
||||
echo "includedir=\"\${prefix}/include\"" >> ${PN}.pc
|
||||
echo "" >> ${PN}.pc
|
||||
echo "Name: ${PN}" >> ${PN}.pc
|
||||
echo "Description: ${DESCRIPTION}" >> ${PN}.pc
|
||||
echo "URL: ${HOMEPAGE}" >> ${PN}.pc
|
||||
echo "Version: ${PV}" >> ${PN}.pc
|
||||
echo "Libs: \"-L\${libdir}\" -l${PN}" >> ${PN}.pc
|
||||
echo "Cflags: \"-I\${includedir}\"" >> ${PN}.pc
|
||||
|
||||
tc-export AR CC
|
||||
emake -f util/wren.mk LIBUV_DIR="${EPREFIX}/usr" LIBUV="${EPREFIX}/usr/$(get_libdir)/libuv.so" VERBOSE=1 ${targets}
|
||||
}
|
||||
@@ -60,4 +71,9 @@ src_install() {
|
||||
dolib.a lib/libwren.a
|
||||
fi
|
||||
dolib.so lib/libwren.so
|
||||
doheader src/include/wren.h
|
||||
doheader src/include/wren.hpp
|
||||
|
||||
insinto /usr/$(get_libdir)/pkgconfig
|
||||
doins ${PN}.pc
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user