summaryrefslogtreecommitdiff
path: root/sys-libs/libsepol
diff options
context:
space:
mode:
Diffstat (limited to 'sys-libs/libsepol')
-rw-r--r--sys-libs/libsepol/Manifest4
-rw-r--r--sys-libs/libsepol/libsepol-3.7.ebuild19
-rw-r--r--sys-libs/libsepol/libsepol-9999.ebuild19
3 files changed, 26 insertions, 16 deletions
diff --git a/sys-libs/libsepol/Manifest b/sys-libs/libsepol/Manifest
index e57f8b39cf89..e53ed1e9a6c8 100644
--- a/sys-libs/libsepol/Manifest
+++ b/sys-libs/libsepol/Manifest
@@ -3,6 +3,6 @@ DIST libsepol-3.6.tar.gz 509100 BLAKE2B c073c9437004df0c723125971ed26354dc6b8a78
DIST libsepol-3.7.tar.gz 511487 BLAKE2B 8e4a0b2b3731f49d8bc8ea03bd5269672428119578046bc7f38230e3c77459e6b9d4ab39285ea33c89d8e807499ef89faa606e4b4e1ecfac2c3d445454b16420 SHA512 85d12d0ba5a7a3225f08d041a18fd59641608db5e0a78a1e9649754e45be54a807cd422d4889b88da6e806b4af546336c7a0913448f08ac33dc6ffb983890ef8
EBUILD libsepol-3.5.ebuild 1114 BLAKE2B e2dd440d5fcdd3e3dce67bb25a5180cdda5dd534c4f5fa42b30acf1f33fa5d794583fb7808b4b39b3a7003850bb08b12bf8fbdaede1b7c3c6986c365e8d7090b SHA512 1cbd7242dfa76531be30bb7d897ca8fa05be2357351b6b276fbf14958785c5620edf1cce8d3af16a0b8d8fbcb9e1d883ffa6a9313ace5bf73278644234a10043
EBUILD libsepol-3.6.ebuild 1114 BLAKE2B 94ab8f288daf3208748785f0440c24bbd4af0477f383c5d570db7a7d8eb98fe1f910d419a5fd41cb063bb06e7898a34b66dff7655e08f894e357324b99516a2d SHA512 be5926d4a51c07270d7cadacbaf8208b68803133c4a372127ad6f5e45261b0ca7a6cc5521a1f006805aacab721a0329a72fa40e4c87865723f054e23d55afb2c
-EBUILD libsepol-3.7.ebuild 1118 BLAKE2B 8432bf958aa71d1733696b37e627f0002a3be249654fc862093805ea573e867aeecf0fab397fe899552b8b5def83f5ed913e4a1fa1a7e0a7c6680067bfc7423d SHA512 5f0adf73faa1bd6b9c6ad2514ad5102d863574e193f9c26fb86f8e905649f416526c2266c806f2c38bc3451bf8b6f9e35f15a253fcb442abc3eebea48e9e6496
-EBUILD libsepol-9999.ebuild 1118 BLAKE2B 8432bf958aa71d1733696b37e627f0002a3be249654fc862093805ea573e867aeecf0fab397fe899552b8b5def83f5ed913e4a1fa1a7e0a7c6680067bfc7423d SHA512 5f0adf73faa1bd6b9c6ad2514ad5102d863574e193f9c26fb86f8e905649f416526c2266c806f2c38bc3451bf8b6f9e35f15a253fcb442abc3eebea48e9e6496
+EBUILD libsepol-3.7.ebuild 1200 BLAKE2B 6c792896126c48008181e1c3c0c4b25a85e95b6013954bd2bc075c193e45fca7b820ce6dceb592f594324875509de254852389f9cbbe8b558e933e7a5279acdf SHA512 4dd09c30ace31746cdb00a25a8231d1d6140df0188e4a206dfc2beed529045493753785ebd1ce9cb57c1d35c613d085d925b08db123acbe35f654ee1b051754b
+EBUILD libsepol-9999.ebuild 1200 BLAKE2B 6c792896126c48008181e1c3c0c4b25a85e95b6013954bd2bc075c193e45fca7b820ce6dceb592f594324875509de254852389f9cbbe8b558e933e7a5279acdf SHA512 4dd09c30ace31746cdb00a25a8231d1d6140df0188e4a206dfc2beed529045493753785ebd1ce9cb57c1d35c613d085d925b08db123acbe35f654ee1b051754b
MISC metadata.xml 402 BLAKE2B 0450441687952fc82e64536652076085d66870e8cd81d9aaa99d023d17d46bc8ef6627c9ebdd6084b4c60e7d26edb61b4aaf5693794105b04b500c74a37c25be SHA512 a107ad99e8050f4cbe1c32f76699524afdced1f4b9a0c0fb3a4b5954d4f9cd5993d4d047d7a3fb45fb68c2be361c658be48287e1099ea7a6b6fca7d676969c2d
diff --git a/sys-libs/libsepol/libsepol-3.7.ebuild b/sys-libs/libsepol/libsepol-3.7.ebuild
index 4cb9db630532..cf71e47eb015 100644
--- a/sys-libs/libsepol/libsepol-3.7.ebuild
+++ b/sys-libs/libsepol/libsepol-3.7.ebuild
@@ -23,6 +23,7 @@ fi
LICENSE="GPL-2"
SLOT="0/2"
+IUSE="static-libs"
# tests are not meant to be run outside of the full SELinux userland repo
RESTRICT="test"
@@ -32,19 +33,23 @@ src_prepare() {
multilib_copy_sources
}
+my_make() {
+ emake \
+ PREFIX="${EPREFIX}/usr" \
+ LIBDIR="\$(PREFIX)/$(get_libdir)" \
+ SHLIBDIR="${EPREFIX}/$(get_libdir)" \
+ "${@}"
+}
+
multilib_src_compile() {
tc-export CC AR RANLIB
local -x CFLAGS="${CFLAGS} -fno-semantic-interposition"
- emake \
- LIBDIR="\$(PREFIX)/$(get_libdir)" \
- SHLIBDIR="/$(get_libdir)"
+ my_make
}
multilib_src_install() {
- emake DESTDIR="${D}" \
- LIBDIR="\$(PREFIX)/$(get_libdir)" \
- SHLIBDIR="/$(get_libdir)" \
- install
+ my_make DESTDIR="${D}" install
+ use static-libs || rm "${ED}"/usr/$(get_libdir)/*.a || die
}
diff --git a/sys-libs/libsepol/libsepol-9999.ebuild b/sys-libs/libsepol/libsepol-9999.ebuild
index 4cb9db630532..cf71e47eb015 100644
--- a/sys-libs/libsepol/libsepol-9999.ebuild
+++ b/sys-libs/libsepol/libsepol-9999.ebuild
@@ -23,6 +23,7 @@ fi
LICENSE="GPL-2"
SLOT="0/2"
+IUSE="static-libs"
# tests are not meant to be run outside of the full SELinux userland repo
RESTRICT="test"
@@ -32,19 +33,23 @@ src_prepare() {
multilib_copy_sources
}
+my_make() {
+ emake \
+ PREFIX="${EPREFIX}/usr" \
+ LIBDIR="\$(PREFIX)/$(get_libdir)" \
+ SHLIBDIR="${EPREFIX}/$(get_libdir)" \
+ "${@}"
+}
+
multilib_src_compile() {
tc-export CC AR RANLIB
local -x CFLAGS="${CFLAGS} -fno-semantic-interposition"
- emake \
- LIBDIR="\$(PREFIX)/$(get_libdir)" \
- SHLIBDIR="/$(get_libdir)"
+ my_make
}
multilib_src_install() {
- emake DESTDIR="${D}" \
- LIBDIR="\$(PREFIX)/$(get_libdir)" \
- SHLIBDIR="/$(get_libdir)" \
- install
+ my_make DESTDIR="${D}" install
+ use static-libs || rm "${ED}"/usr/$(get_libdir)/*.a || die
}