dev-cpp/libcmis: Drop alternatives eclass

Package-Manager: Portage-2.3.49, Repoman-2.3.10
This commit is contained in:
Andreas Sturmlechner
2018-09-16 23:16:40 +02:00
parent c7befb2acb
commit 0ddf6f6f6b
2 changed files with 2 additions and 18 deletions

View File

@@ -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]"
}

View File

@@ -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]"
}