summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2018-09-16 23:16:40 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2018-09-17 00:29:12 +0200
commit0ddf6f6f6b74f3aaeafa458b1bcab563166bd722 (patch)
tree8b189da7e1a292ce65dff0eccf0de2389792f489 /dev-cpp/libcmis
parentdev-cpp/libcmis: Add new 0.5.2_pre20180118 snapshot (diff)
downloadgentoo-0ddf6f6f6b74f3aaeafa458b1bcab563166bd722.tar.gz
gentoo-0ddf6f6f6b74f3aaeafa458b1bcab563166bd722.tar.bz2
gentoo-0ddf6f6f6b74f3aaeafa458b1bcab563166bd722.zip
dev-cpp/libcmis: Drop alternatives eclass
Package-Manager: Portage-2.3.49, Repoman-2.3.10
Diffstat (limited to 'dev-cpp/libcmis')
-rw-r--r--dev-cpp/libcmis/libcmis-0.5.2_pre20180118.ebuild10
-rw-r--r--dev-cpp/libcmis/libcmis-9999.ebuild10
2 files changed, 2 insertions, 18 deletions
diff --git a/dev-cpp/libcmis/libcmis-0.5.2_pre20180118.ebuild b/dev-cpp/libcmis/libcmis-0.5.2_pre20180118.ebuild
index 9c4546b7f5f5..a918f64a5965 100644
--- a/dev-cpp/libcmis/libcmis-0.5.2_pre20180118.ebuild
+++ b/dev-cpp/libcmis/libcmis-0.5.2_pre20180118.ebuild
@@ -12,7 +12,7 @@ elif [[ ${PV} = *_pre* ]]; then
else
SRC_URI="https://github.com/tdf/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
fi
-inherit alternatives autotools flag-o-matic
+inherit autotools flag-o-matic
DESCRIPTION="C++ client library for the CMIS interface"
HOMEPAGE="https://github.com/tdf/libcmis"
@@ -74,11 +74,3 @@ src_install() {
default
find "${D}" -name '*.la' -delete || die
}
-
-pkg_postinst() {
- alternatives_auto_makesym /usr/bin/cmis-client "/usr/bin/cmis-client-[0-9].[0-9]"
-}
-
-pkg_postrm() {
- alternatives_auto_makesym /usr/bin/cmis-client "/usr/bin/cmis-client-[0-9].[0-9]"
-}
diff --git a/dev-cpp/libcmis/libcmis-9999.ebuild b/dev-cpp/libcmis/libcmis-9999.ebuild
index 922b7a7756a6..648347ed63bc 100644
--- a/dev-cpp/libcmis/libcmis-9999.ebuild
+++ b/dev-cpp/libcmis/libcmis-9999.ebuild
@@ -12,7 +12,7 @@ elif [[ ${PV} = *_pre* ]]; then
else
SRC_URI="https://github.com/tdf/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
fi
-inherit alternatives autotools flag-o-matic
+inherit autotools flag-o-matic
DESCRIPTION="C++ client library for the CMIS interface"
HOMEPAGE="https://github.com/tdf/libcmis"
@@ -69,11 +69,3 @@ src_install() {
default
find "${D}" -name '*.la' -delete || die
}
-
-pkg_postinst() {
- alternatives_auto_makesym /usr/bin/cmis-client "/usr/bin/cmis-client-[0-9].[0-9]"
-}
-
-pkg_postrm() {
- alternatives_auto_makesym /usr/bin/cmis-client "/usr/bin/cmis-client-[0-9].[0-9]"
-}