summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Chvatal <scarabeus@gentoo.org>2012-09-13 15:53:20 +0000
committerTomas Chvatal <scarabeus@gentoo.org>2012-09-13 15:53:20 +0000
commit10e71a7b5f1e5ed3f427093acb484030360fde93 (patch)
tree40e3b22c3bc9c49f7d7ec6c56e113a43d965a097 /dev-cpp
parentPunt older keep only latest stable. (diff)
downloadhistorical-10e71a7b5f1e5ed3f427093acb484030360fde93.tar.gz
historical-10e71a7b5f1e5ed3f427093acb484030360fde93.tar.bz2
historical-10e71a7b5f1e5ed3f427093acb484030360fde93.zip
Slot cmis as 0.3 is not compatible with 3.6 again. Revbumps are needed for proper blockers. 0.1 and 0.2 sadly use same 0.2 soname, stupid.
Package-Manager: portage-2.2.0_alpha125/cvs/Linux x86_64 RepoMan-Options: --force
Diffstat (limited to 'dev-cpp')
-rw-r--r--dev-cpp/libcmis/ChangeLog12
-rw-r--r--dev-cpp/libcmis/Manifest36
-rw-r--r--dev-cpp/libcmis/libcmis-0.1.0-r1.ebuild (renamed from dev-cpp/libcmis/libcmis-0.1.0.ebuild)15
-rw-r--r--dev-cpp/libcmis/libcmis-0.2.3-r1.ebuild (renamed from dev-cpp/libcmis/libcmis-0.2.3.ebuild)15
-rw-r--r--dev-cpp/libcmis/libcmis-0.3.0.ebuild60
-rw-r--r--dev-cpp/libcmis/libcmis-9999.ebuild25
6 files changed, 133 insertions, 30 deletions
diff --git a/dev-cpp/libcmis/ChangeLog b/dev-cpp/libcmis/ChangeLog
index 92ae331caaee..e2a420b26526 100644
--- a/dev-cpp/libcmis/ChangeLog
+++ b/dev-cpp/libcmis/ChangeLog
@@ -1,6 +1,16 @@
# ChangeLog for dev-cpp/libcmis
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-cpp/libcmis/ChangeLog,v 1.13 2012/08/09 08:27:31 scarabeus Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-cpp/libcmis/ChangeLog,v 1.14 2012/09/13 15:53:20 scarabeus Exp $
+
+*libcmis-0.2.3-r1 (13 Sep 2012)
+*libcmis-0.3.0 (13 Sep 2012)
+*libcmis-0.1.0-r1 (13 Sep 2012)
+
+ 13 Sep 2012; Tomáš Chvátal <scarabeus@gentoo.org> +libcmis-0.1.0-r1.ebuild,
+ +libcmis-0.2.3-r1.ebuild, +libcmis-0.3.0.ebuild, -libcmis-0.1.0.ebuild,
+ -libcmis-0.2.3.ebuild, libcmis-9999.ebuild:
+ Slot cmis as 0.3 is not compatible with 3.6 again. Revbumps are needed for
+ proper blockers. 0.1 and 0.2 sadly use same 0.2 soname, stupid.
09 Aug 2012; Tomáš Chvátal <scarabeus@gentoo.org>
+files/libcmis-0.2.3-do-not-override-phases.patch, libcmis-0.2.3.ebuild:
diff --git a/dev-cpp/libcmis/Manifest b/dev-cpp/libcmis/Manifest
index 57130ebd2551..104441c08cec 100644
--- a/dev-cpp/libcmis/Manifest
+++ b/dev-cpp/libcmis/Manifest
@@ -4,25 +4,27 @@ Hash: SHA256
AUX libcmis-0.2.3-do-not-override-phases.patch 522 SHA256 6d8e1b88ecbdc7a49da91165d28a91eb8cf8fb3f59b3b4dd8601a930ee665303 SHA512 d902525548f164d89e175ffe0a5e545933ecd447bf6c9f34c4dd80ee39e358a2d884e75576305cd954fc50c77f1c1255d5a6dd00eaa0bce7078770828745a02e WHIRLPOOL 08b2ee7a9f2836095c9bf84683c91fd339a73f3ec0440de4730ee2ac1c3881600cc6d3fdf87f36f2f7e4554cc86347905c77240c98ce7dcd683412734979b8fd
DIST libcmis-0.1.0.tar.gz 373429 SHA256 2452f9a746d85a126a9a61d71330f6ecca5449f1ab08f43924d660a143bd7e95 SHA512 8eac22ad70d01fdb756ade8c0914931ba1b6b49b10f6f7120f0276f3f13fcb64e33177b87b133b257d95394bfd54cbe4c4076fccfe65ccfdc2c69d20b7f01f5a WHIRLPOOL 95505b443850c1aed55ee671d0a940a3ad231a9acdb5fb0fdf765a94182127b3ac0d4317cf409f77218a173ab4e9ea324d8458db48ab1d804c38e795f6617d75
DIST libcmis-0.2.3.tar.gz 432064 SHA256 a4ace7c0280e5ee8d4941b33449ee10edf1515437483d55ae387cc4de2c2bea0 SHA512 f69ff4cb6a76d3622e235b0e07c55a762c96634255cedb105565ac40daf5bb2f0fb679bae90708719824a08a921dd34b7cf4fc90d0fb8019e36b5dea3230abb0 WHIRLPOOL 86fe8e16da3148f5a73f5c8be4d5fe3bb71ef2f74e888f0727d6836df24f6013289d5c1b0433ca3d06686419b1c0fad5e0fd0bcda78d714f68d2d2f78c01e83f
-EBUILD libcmis-0.1.0.ebuild 1175 SHA256 5051a51a1e8061e76655c4821470e457d2aef9dec6469a8510ac473356079ba1 SHA512 bdcca89a794a9284c85dd766e3c57adeb41bdc9a42c11cfd9064df2259f2f82a4bcaf13b50e34746dde3d3180795df76882859a208fff87e4150f6b81f0ae91c WHIRLPOOL 5f31f9f214d574bc4ab10defbe6757b431395656b5c7464a6cdac9cd0f2e25bedc21846d513b437b6dc4224b324bd3e52b346bf25fb78bc85bdcff8fe0cac9a3
-EBUILD libcmis-0.2.3.ebuild 1295 SHA256 b6287321c35f016e3a95eecf3f731fb102ef9ff51e9ff244725f4cfb2887cea4 SHA512 3bfdb48d7f6a65b800b76a3ddd123ca47f949338f941ced36d7a9510b4d7f7d35c7c98303edcfebe879df29f3d7c1f9da8d7fecf597f0f9bffbdc34a1f3f8775 WHIRLPOOL 251cd44188dd9e6bec1d70f590491e5a526fa56ae111e30b53a6a6efef52f03937d54272b2af0391a096809d3c016ef0d02a36b66f1f6549cc20d1459621bad0
-EBUILD libcmis-9999.ebuild 1222 SHA256 afa149147de798319a57361bb9e0f2ee0fc44a698b2a08af52567497bf88c9b4 SHA512 e7184c0918a11f2d577dd5ad07277cd77e9806f7f60099488cdb994356efa0c6b3fa73285e4ca8bf15adac26592554e50208f2910ea585d315e26be049b8b9be WHIRLPOOL 2f4382e27097a65340f8e998a0f1b168eca13d6be158722bd0648f898a4037b64c0780c6cf087577b5951b56dd64f41f272094c046c846fbcb676fc511026e65
-MISC ChangeLog 2179 SHA256 02dc6a902d8e7076fd9b7595361b2a3a13c45d646a0fdf7ab359a5902a068b6b SHA512 0fabe46493af88e67ea03f47ccd255d2e81d4126ca5941bd74d332145a93e6c34ba64e539bbe95999e18986c2a55ebabf76bc65169928ba788e994efe01527a6 WHIRLPOOL 2efdc1afe628e25b45899cad2969e0815cda477f1ccacafb8373d5aa2e437471df21122001b069ba6e1e4e31edb2aabf4c6305be8dcf8c45fd687cfe562551f6
+DIST libcmis-0.3.0.tar.gz 515564 SHA256 8c1271cba2494d8c52bba08fa3b14cdca7401b5f90faacb8b206364c84233ffb SHA512 2840d3f9a95652336a7b80fed62af22303db1f7e17fb233e6b08385d54a92459b1fc07d81484635e16efcc3f20865ff9267095d8d9998e9645aee05d763dff4d WHIRLPOOL 5912fe505b7b46a4c51211a37a6a160f4bda8a496dd49503327723c2da58cc1925d2327a061a27ff0dacb06358b42f8dde0b4db9deb9c9befd33ed951227b125
+EBUILD libcmis-0.1.0-r1.ebuild 1480 SHA256 34c091d279991b3e0e23b459adce77e9d51a527562d0b654a6b02a7620ba8c9c SHA512 66aea7fceaaaef421da5f77afb339e87ce707aa8c24093aed36528f85878a88d470ff505171101b6280a5a46bb32e5b2e1585ed9429754885396ce42727fb56c WHIRLPOOL 9aac719a48280111771b13c7f0c4b112cefef0f2f8e22ca94d2a7bdf101301dee0ca3ca23f5bf3e342b7b6418154eb15ad8931f85be204b657936bf55fc3fc33
+EBUILD libcmis-0.2.3-r1.ebuild 1600 SHA256 db7c1a8d065466c4d62a98fa8398553d8612995a2e040c53f5d1afae3866a1a8 SHA512 5bfc781b3ad055525ff02080503465b9fd72e99023aea80751ccde8fbf993b6dad6ce5c02cc0f6a4987c3134d2172b5f3b7b47a9e527262ebc9e5d77495c95e7 WHIRLPOOL 1c352cff374bb427514689d900950cf98ae4612c43cbf316a1b20c457b489fb48804608840b9c015e7ff8dcaa4962914de13d533fb561fc10a9990dc42918003
+EBUILD libcmis-0.3.0.ebuild 1481 SHA256 a28b2a66429051dd57f40c19b0fa5e3ed3fc684069dca81fb4410266358fe328 SHA512 672ffef48244cb6ca8b27ef01a5c9ae37195773ebe3f01bf982dae3c73374b6c420262858440bd7343db9604fb2b948c834a324290790d0a08b170b7b0643277 WHIRLPOOL 84db9c3adfd059b18936453e41c3491e2b556dc8a30e9730fa3f7681fa4bb4f633f5e547c0f7acde97bd546cc0be385a6020ef06ba089e9ec97da7d792dd16ab
+EBUILD libcmis-9999.ebuild 1480 SHA256 1b6d4ff133aa35c082703f8190bbb5918402b61df573cd56be6c52eebfc80c3d SHA512 fc154fe7313841a5126c9088c8e5586858c010115c327fe810d741178cd73768efea5b8d41041e16f4d8eff692cad5f8ba58a263a6d2c1399abe4e4610ed9758 WHIRLPOOL 8dc7cbed6908f25321adc729ca367378766afd266fdecfff91ce2822f197198ec1053d4dd1ec3c50a4f6118e24470945b22e7fbcb7c38adcd5d87caa61f55df3
+MISC ChangeLog 2618 SHA256 29573d5fe5c0ce4840629d614db3d16c9972459fe3c2a6b9646b17be246fd50e SHA512 b032f7514d4a73945f9e7f9a6ed6018757b6c9b1ed1fecf9359013def6cae61af0f969e09ddb441176e87965404e0f90e5a4bc453c9414c515d041dfb49b24d2 WHIRLPOOL dcbb3e8d3c3297cd32d63aee687e4e727c5efdedef7d168d46c7938b3dc2b0df4fd5cd772f10f348b491c75831c0018a63396116b97423f7e5b00a9c7407eb0c
MISC metadata.xml 230 SHA256 963e17c8788eb273db38fb5cc08e10c2eeaafae5e224d8ae50ecb5e0ddbc37d7 SHA512 ee2f609978027b9888b8440feb4583658bcc0b362a82246219fbb49166619a5d473411f4d204ed02e98aa8922eff648d663415f203cd269bec4a7775a5be8597 WHIRLPOOL 9fee66207dd50a07a5907776c96e7d012838175d4374ab3952c6215cc0833becd4c9bf5c73030b551f039a5932140df2400c2e66b8a9eb7fc89a647bdc55659c
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
-iQIcBAEBCAAGBQJQI3S7AAoJEOSiRoyO7jvo8dUP/RT3P5mMbu+Qh7MfYJ6XEF9Y
-58djkze35UJSgMJM9C1pkoj/UeMmzC86EITyBZlgiuTbGKgwtl68Jud16Gmh+LwR
-d+94z18vxmGI+U6dTxl2WqOVvudcLv7EMor8SgfhJT3q7EphxLrBvRsQf4GOTd6s
-GAQYpiyWNEjDDxDCE2GLXFNlGjHmYq/lVBbrIM2foP0fHrz1DbYwFLNP8gJhxtZz
-rnd3IgRNvIBtzlhW9MdBVDnHkvEig3NcN7x7Z/omjO6tLzrwBxZATpYxjT2R9uXR
-nhAjYtJU/ftGgK+KAUdVIaPRb/tq8RIY9StUG6ag7ffYQ8TRuQ8nDtacm5ICKttP
-ChlBQ2XIcK52wMCBeuf7tU/aRd7+8WYL/+QuFV3BgEDUX3QdbLeE2ZfKIig7xmE3
-pkRumFuqgX8YcxZNERmOj6qy7X15OBA+Vl6SxdTRw9oHTfdT/hau2yP5BwksM3ZW
-vvNNpM5MuMy3/iZTSIee17zr14YMFNO68fIFCmBCDJpiw0lAfECe1SXk5gSG3RD6
-MDRVxxUtVgRD/4oPWPtCQW8Mo+VxibUTh3e9ThAi2CekbOrz8G6qPwDtdBiZHggG
-WwN5bqxZf+csrPL/5PdqPk4beiMQmb39TyvLCFAKFtTfcQDlzfl/HEcgfik3aBSY
-VWo+TuD072RBkH5oyXEZ
-=GK9e
+iQIcBAEBCAAGBQJQUgFnAAoJEOSiRoyO7jvodpYQAJFlbFnPJK+u8H5ZTdp1dHiN
+2CIglcUD04Zz+py7s6VyTZqflfX/TvFUWxa0sbSGpaVIoMAT+1WJ1D+pAxF/ALF/
+40msLdSmXqmZ/KccUzrBirswo/e3aCq1MInR8I0FyQHhv2hZmgKRcjt98kGRrGxS
+tTuGgRHkkdY8UCbKJa69O2z5mnMe1TOtcB9QuhoSo74r4y3xX6vPdKVb6I6YCf0D
+2b5B5FzsHDoB4/9Uh/GfiN5WrgMYLWHgt8xlD3USN/94EpOek9C20fu4fg1h8guI
+Hc/6I8QcKhhG7oK4zSPx3Cw1ESLNHp5kHF1awUqywMTxF6iPEjdfUcsYFkVknc3x
+/atUW68MLMvBV5tOi4IOnxPrkCEIgvTHLcfpFX3CJU6hCqXBIl5gBlB/89VGicZP
+aHx+Iy7OWjhZcW51+vFTwyOe28aCRstVjMnvfUykFqDxpu66ybCPUXfsFh2RH2Yq
+NY5996BQ6jiJV2M/Zk0WXatWcdZZSFsTjjTXhY63lJ6eMdjCRmT7aIcvNljgI0w8
+mkoL/O8ovzJggoYMQ0ehGejG1huVR8IsBNB0e/lWAQ4YSvvagp04YRlLMuK8sEcI
+aRExx1H/18OjFK+EJ0cnppF0zOBvvslfJ3uHFaHjt2iZ+yJF0JGDahd+xL3mAvkL
+3dyVYyagFEekwF4NSFRp
+=gx/1
-----END PGP SIGNATURE-----
diff --git a/dev-cpp/libcmis/libcmis-0.1.0.ebuild b/dev-cpp/libcmis/libcmis-0.1.0-r1.ebuild
index 2622a8d75da2..e1c400cf65ac 100644
--- a/dev-cpp/libcmis/libcmis-0.1.0.ebuild
+++ b/dev-cpp/libcmis/libcmis-0.1.0-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-cpp/libcmis/libcmis-0.1.0.ebuild,v 1.9 2012/08/02 18:22:52 scarabeus Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-cpp/libcmis/libcmis-0.1.0-r1.ebuild,v 1.1 2012/09/13 15:53:20 scarabeus Exp $
EAPI=4
@@ -14,11 +14,12 @@ HOMEPAGE="https://sourceforge.net/projects/libcmis/"
[[ ${PV} == 9999 ]] || SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
LICENSE="|| ( GPL-2 LGPL-2 MPL-1.1 )"
-SLOT="0"
+SLOT="0.2"
[[ ${PV} == 9999 ]] || KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux"
IUSE="static-libs test"
RDEPEND="
+ !dev-cpp/libcmis:0
dev-libs/boost
dev-libs/libxml2
<net-misc/curl-7.27.0
@@ -37,6 +38,8 @@ src_prepare() {
src_configure() {
econf \
+ --docdir="${EPREFIX}"/usr/share/doc/${PF} \
+ --program-suffix=-${SLOT} \
--disable-werror \
$(use_enable static-libs static) \
$(use_enable test tests) \
@@ -47,3 +50,11 @@ src_install() {
default
find "${ED}" -name '*.la' -exec rm -f {} +
}
+
+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-0.2.3.ebuild b/dev-cpp/libcmis/libcmis-0.2.3-r1.ebuild
index a5d7ff51a27e..1b2a40b565a8 100644
--- a/dev-cpp/libcmis/libcmis-0.2.3.ebuild
+++ b/dev-cpp/libcmis/libcmis-0.2.3-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-cpp/libcmis/libcmis-0.2.3.ebuild,v 1.3 2012/08/09 08:27:31 scarabeus Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-cpp/libcmis/libcmis-0.2.3-r1.ebuild,v 1.1 2012/09/13 15:53:20 scarabeus Exp $
EAPI=4
@@ -14,11 +14,12 @@ HOMEPAGE="https://sourceforge.net/projects/libcmis/"
[[ ${PV} == 9999 ]] || SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
LICENSE="|| ( GPL-2 LGPL-2 MPL-1.1 )"
-SLOT="0"
+SLOT="0.2"
[[ ${PV} == 9999 ]] || KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
IUSE="static-libs man test"
RDEPEND="
+ !dev-cpp/libcmis:0
dev-libs/boost
dev-libs/libxml2
net-misc/curl
@@ -39,6 +40,8 @@ src_prepare() {
src_configure() {
econf \
+ --docdir="${EPREFIX}"/usr/share/doc/${PF} \
+ --program-suffix=-${SLOT} \
--disable-werror \
$(use_with man) \
$(use_enable static-libs static) \
@@ -50,3 +53,11 @@ src_install() {
default
find "${ED}" -name '*.la' -exec rm -f {} +
}
+
+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-0.3.0.ebuild b/dev-cpp/libcmis/libcmis-0.3.0.ebuild
new file mode 100644
index 000000000000..6d7b0aa0d5c7
--- /dev/null
+++ b/dev-cpp/libcmis/libcmis-0.3.0.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-cpp/libcmis/libcmis-0.3.0.ebuild,v 1.1 2012/09/13 15:53:20 scarabeus Exp $
+
+EAPI=4
+
+EGIT_REPO_URI="git://gitorious.org/libcmis/libcmis.git"
+[[ ${PV} == 9999 ]] && SCM_ECLASS="git-2"
+inherit eutils alternatives autotools ${SCM_ECLASS}
+unset SCM_ECLASS
+
+DESCRIPTION="C++ client library for the CMIS interface"
+HOMEPAGE="https://sourceforge.net/projects/libcmis/"
+[[ ${PV} == 9999 ]] || SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="|| ( GPL-2 LGPL-2 MPL-1.1 )"
+SLOT="0.3"
+[[ ${PV} == 9999 ]] || KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
+IUSE="static-libs man test"
+
+RDEPEND="
+ !dev-cpp/libcmis:0
+ dev-libs/boost
+ dev-libs/libxml2
+ net-misc/curl
+"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ man? ( app-text/docbook2X )
+ test? ( dev-util/cppunit )
+"
+
+src_prepare() {
+ [[ ${PV} == 9999 ]] && eautoreconf
+}
+
+src_configure() {
+ econf \
+ --docdir="${EPREFIX}"/usr/share/doc/${PF} \
+ --program-suffix=-${SLOT} \
+ --disable-werror \
+ $(use_with man) \
+ $(use_enable static-libs static) \
+ $(use_enable test tests) \
+ --disable-long-tests \
+ --enable-client
+}
+
+src_install() {
+ default
+ prune_libtool_files --all
+}
+
+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 6ae491e7bad4..d5bd88196cab 100644
--- a/dev-cpp/libcmis/libcmis-9999.ebuild
+++ b/dev-cpp/libcmis/libcmis-9999.ebuild
@@ -1,12 +1,12 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-cpp/libcmis/libcmis-9999.ebuild,v 1.6 2012/06/21 15:31:11 scarabeus Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-cpp/libcmis/libcmis-9999.ebuild,v 1.7 2012/09/13 15:53:20 scarabeus Exp $
EAPI=4
EGIT_REPO_URI="git://gitorious.org/libcmis/libcmis.git"
[[ ${PV} == 9999 ]] && SCM_ECLASS="git-2"
-inherit autotools ${SCM_ECLASS}
+inherit eutils alternatives autotools ${SCM_ECLASS}
unset SCM_ECLASS
DESCRIPTION="C++ client library for the CMIS interface"
@@ -14,11 +14,12 @@ HOMEPAGE="https://sourceforge.net/projects/libcmis/"
[[ ${PV} == 9999 ]] || SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
LICENSE="|| ( GPL-2 LGPL-2 MPL-1.1 )"
-SLOT="0"
+SLOT="0.3"
[[ ${PV} == 9999 ]] || KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
IUSE="static-libs man test"
RDEPEND="
+ !dev-cpp/libcmis:0
dev-libs/boost
dev-libs/libxml2
net-misc/curl
@@ -29,23 +30,31 @@ DEPEND="${RDEPEND}
test? ( dev-util/cppunit )
"
-# It fetches the apache chemistry webapp and then try to run some magic on it
-RESTRICT="test"
-
src_prepare() {
- eautoreconf
+ [[ ${PV} == 9999 ]] && eautoreconf
}
src_configure() {
econf \
+ --docdir="${EPREFIX}"/usr/share/doc/${PF} \
+ --program-suffix=-${SLOT} \
--disable-werror \
$(use_with man) \
$(use_enable static-libs static) \
$(use_enable test tests) \
+ --disable-long-tests \
--enable-client
}
src_install() {
default
- find "${ED}" -name '*.la' -exec rm -f {} +
+ prune_libtool_files --all
+}
+
+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]"
}