Experimental compatibility package for corosync 1.4.7
This commit is contained in:
parent
b460362eab
commit
e638b9cb71
2 changed files with 66 additions and 0 deletions
2
sys-cluster/corosync-compat/Manifest
Normal file
2
sys-cluster/corosync-compat/Manifest
Normal file
|
@ -0,0 +1,2 @@
|
|||
DIST corosync-1.4.7.tar.gz 420596 BLAKE2B 7818b1d58f2ce743b990fd275908d0b72a63dc8f243df2fdb1b369ace635cd4602b19eda96d59fedb980c46b38f12a5c5f3592d2915a559c5b89e4390751cccc SHA512 275a4372cac13789d93e224e4a7853953d6111afc534f9e897deaf064d5d96bb0db932a02a9212b5a0d2ca53d3f56133073f519460a9ca3573f5403642db34e1
|
||||
EBUILD corosync-compat-1.4.7.ebuild 1661 BLAKE2B 5344e3748185e9f7b750879a1ba77ef8d620a0b03b69ca368b6e200d22e562a64d9232fe249b1bd423c0c5da9b33824f518785e3957793ac35802a04aaac78f0 SHA512 1bbdc9508c2f9f67f70b2c80467e8110fabe1116b10be73b5b3a6fc4fde3de0951377331cd743408451fb8d28f1ac552d5b9adc6513c9c6faa107220c81ceccb
|
64
sys-cluster/corosync-compat/corosync-compat-1.4.7.ebuild
Normal file
64
sys-cluster/corosync-compat/corosync-compat-1.4.7.ebuild
Normal file
|
@ -0,0 +1,64 @@
|
|||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit autotools
|
||||
|
||||
MY_TREE="bf8ff17"
|
||||
MY_PN="corosync"
|
||||
|
||||
DESCRIPTION="Compatibility files for libcoroipcc in =sys-cluster/${MY_PN}-${PV}"
|
||||
HOMEPAGE="http://www.corosync.org/"
|
||||
SRC_URI="http://build.clusterlabs.org/corosync/releases/${MY_PN}-${PV}.tar.gz"
|
||||
|
||||
LICENSE="BSD-2 public-domain"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~hppa ~x86 ~x86-fbsd"
|
||||
|
||||
RDEPEND="!<sys-cluster/corosync-2.0"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
S="${WORKDIR}/${MY_PN}-${MY_PN}-${MY_TREE}"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
default
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto /usr/include/corosync
|
||||
doins ${S}/include/corosync/confdb.h
|
||||
doins ${S}/include/corosync/coroipcc.h
|
||||
doins ${S}/include/corosync/coroipc_types.h
|
||||
doins ${S}/include/corosync/list.h
|
||||
doins ${S}/include/corosync/mar_gen.h
|
||||
doins ${S}/include/corosync/swab.h
|
||||
|
||||
exeinto /usr/$(get_libdir)
|
||||
doexe ${S}/lib/libconfdb.so.4.1.0
|
||||
dosym libconfdb.so.4.1.0 /usr/$(get_libdir)/libconfdb.so.4
|
||||
dosym libconfdb.so.4.1.0 /usr/$(get_libdir)/libconfdb.so
|
||||
doexe ${S}/lib/libcoroipcc.so.4.0.0
|
||||
dosym libcoroipcc.so.4.0.0 /usr/$(get_libdir)/libcoroipcc.so.4
|
||||
dosym libcoroipcc.so.4.0.0 /usr/$(get_libdir)/libcoroipcc.so
|
||||
|
||||
insinto /usr/$(get_libdir)/pkgconfig
|
||||
doins ${S}/pkgconfig/libconfdb.pc
|
||||
doins ${S}/pkgconfig/libcoroipcc.pc
|
||||
|
||||
# dodir /usr/$(get_libdir)/pkgconfig
|
||||
# sed \
|
||||
# -e "s|@PREFIX@|/usr|" \
|
||||
# -e "s|@LIBDIR@|/usr/$(get_libdir)|" \
|
||||
# -e "s|@LIB@|coroipcc|" \
|
||||
# -e "s|@LIBVERSION@|${PV}|" \
|
||||
# "${S}/pkgconfig/libtemplate.pc.in" > "${ED}/usr/$(get_libdir)/pkgconfig/libcoroipcc.pc" || die
|
||||
|
||||
}
|
Loading…
Reference in a new issue