summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTony Vroon <chainsaw@gentoo.org>2009-12-14 23:20:45 +0000
committerTony Vroon <chainsaw@gentoo.org>2009-12-14 23:20:45 +0000
commit346e275d90b842be1bff8ddc002fd03a95edeab3 (patch)
treeb2a87351e608b103fb18b7300df3fa6f5fc8b51b /app-pda/libplist/libplist-1.1.ebuild
parentAdd missing patch to x11-misc/xmobar. (diff)
downloadgentoo-2-346e275d90b842be1bff8ddc002fd03a95edeab3.tar.gz
gentoo-2-346e275d90b842be1bff8ddc002fd03a95edeab3.tar.bz2
gentoo-2-346e275d90b842be1bff8ddc002fd03a95edeab3.zip
Version bump. With thanks to Tomas "scarabeus" Chvatal.
(Portage version: 2.2_rc59/cvs/Linux x86_64)
Diffstat (limited to 'app-pda/libplist/libplist-1.1.ebuild')
-rw-r--r--app-pda/libplist/libplist-1.1.ebuild44
1 files changed, 44 insertions, 0 deletions
diff --git a/app-pda/libplist/libplist-1.1.ebuild b/app-pda/libplist/libplist-1.1.ebuild
new file mode 100644
index 000000000000..6855866f5978
--- /dev/null
+++ b/app-pda/libplist/libplist-1.1.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-pda/libplist/libplist-1.1.ebuild,v 1.1 2009/12/14 23:20:45 chainsaw Exp $
+
+EAPI=2
+inherit cmake-utils eutils multilib python
+
+DESCRIPTION="Support library to deal with Apple Property Lists (Binary & XML)"
+HOMEPAGE="http://matt.colyer.name/projects/iphone-linux/index.php?title=Main_Page"
+SRC_URI="http://cloud.github.com/downloads/JonathanBeck/${PN}/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+RESTRICT="test"
+
+RDEPEND="dev-libs/glib:2
+ dev-libs/libxml2"
+DEPEND="${RDEPEND}
+ dev-lang/swig"
+
+src_prepare() {
+ sed -e 's:-Werror::g' \
+ -i swig/CMakeLists.txt || die "sed failed"
+}
+
+src_configure() {
+ python_version
+ mycmakeargs="-DCMAKE_SKIP_RPATH=ON
+ -DCMAKE_INSTALL_LIBDIR=$(get_libdir)
+ -DPYTHON_VERSION=${PYVER} VERBOSE=1
+ "
+ cmake-utils_src_configure
+}
+
+pkg_postinst() {
+ python_version
+ python_mod_optimize /usr/$(get_libdir)/python${PYVER}/site-packages/${PN}
+}
+
+pkg_postrm() {
+ python_mod_cleanup
+}