mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-16 14:29:05 -07:00
dev-cpp/libcmis: Drop alternatives eclass
Package-Manager: Portage-2.3.49, Repoman-2.3.10
This commit is contained in:
@@ -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]"
|
||||
}
|
||||
|
||||
@@ -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]"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user