From 5d0917546d203654c46d2ab39d5a7122a995979f Mon Sep 17 00:00:00 2001 From: geos_one Date: Thu, 21 Oct 2010 19:09:19 +0000 Subject: [PATCH] net-nds/yap2lc: initial checkin git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@2563 6952d904-891a-0410-993b-d76249ca496b --- net-nds/yap2lc/ChangeLog | 8 +++++++ net-nds/yap2lc/Manifest | 4 +++- net-nds/yap2lc/metadata.xml | 34 ++++++++++++++++++++++++++++++ net-nds/yap2lc/yap2lc-0.5.9.ebuild | 33 +++++++++++++++-------------- 4 files changed, 62 insertions(+), 17 deletions(-) create mode 100644 net-nds/yap2lc/ChangeLog create mode 100644 net-nds/yap2lc/metadata.xml diff --git a/net-nds/yap2lc/ChangeLog b/net-nds/yap2lc/ChangeLog new file mode 100644 index 00000000..d287ccf1 --- /dev/null +++ b/net-nds/yap2lc/ChangeLog @@ -0,0 +1,8 @@ +# ChangeLog for net-nds/yap2lc +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + + 21 Oct 2010; Mario Fetka yap2lc-0.5.9.ebuild, + +metadata.xml: + initial checkin + diff --git a/net-nds/yap2lc/Manifest b/net-nds/yap2lc/Manifest index 3f533f5a..acc2bae5 100644 --- a/net-nds/yap2lc/Manifest +++ b/net-nds/yap2lc/Manifest @@ -1,3 +1,5 @@ AUX yap2lc-0.5.9-asneeded-1.patch 767 RMD160 c1c8613089bff1e55367752d95928bc0da400f02 SHA1 4c68260ff108eb8cd7104951ce74ef0642517c87 SHA256 727e607e8fa5b120f7edf22f8fb51e17dde7853a3414a1357cda02c6ebdb73fb DIST yap2lc-0.5.9.tar.gz 58651 RMD160 c5538663917bd46dbda1e71834a8ccf145bbb4af SHA1 c63b36ec5068793b53c0a84db207209fc30be277 SHA256 0c822415348e1c8cf32f5cca2ca3d69a6afaf6e901e00b62fc9b522fc8a71298 -EBUILD yap2lc-0.5.9.ebuild 1200 RMD160 69498b29d62ca624fff748d2a6c09eea1691555d SHA1 9dca5f02e93affbe402680f180f3d001a1768af5 SHA256 90fec3bc2e37197c1bf4e052302e28a4da3b5cd73bc84e377d36c0de46f20f5a +EBUILD yap2lc-0.5.9.ebuild 1040 RMD160 36a26c61ee681a272bf9f2af189e310e4c313cea SHA1 9412089d6a44af1f63ab73833b0ba793ef35ba1c SHA256 c718a8a8b0bf3abbe6e0bf9e1950922a213a22646c473e2249a2894fef01c798 +MISC ChangeLog 223 RMD160 a9fa0e9b044ef8c47fb178021f47dfd5b21967c6 SHA1 cffb118361b10296fa32870d4eb413d8d0fc44bd SHA256 3af1a76189b008474e5912352cdee6f3a397a83279500eecaedbd182ef484a5e +MISC metadata.xml 1238 RMD160 c82938e77f387291d6a1c3bf9b0d802f2878dd12 SHA1 b5738f14922c69e78cfb867acdc65eeea25977bf SHA256 2c13f98be5fa8bdaf21ac86bcd00bbeb8944df5615de0cfce35ae4c00ef4b4d5 diff --git a/net-nds/yap2lc/metadata.xml b/net-nds/yap2lc/metadata.xml new file mode 100644 index 00000000..46a44e57 --- /dev/null +++ b/net-nds/yap2lc/metadata.xml @@ -0,0 +1,34 @@ + + + + +no-herd + + @gentoo.org + + + + + diff --git a/net-nds/yap2lc/yap2lc-0.5.9.ebuild b/net-nds/yap2lc/yap2lc-0.5.9.ebuild index ab9e6e1b..53aef132 100644 --- a/net-nds/yap2lc/yap2lc-0.5.9.ebuild +++ b/net-nds/yap2lc/yap2lc-0.5.9.ebuild @@ -21,27 +21,28 @@ IUSE="berkdb" src_prepare() { epatch "${FILESDIR}"/yap2lc-0.5.9-asneeded-1.patch } + src_configure() { - local myconf + local myconf - if use berkdb; then - local db_version - db_version="$(db_findver sys-libs/db)" || die "Unable to find Berkeley DB version" - db_version="$(db_ver_to_slot "${db_version}")" - db_version="${db_version/\./}" - myconf+=" --with-bdb --with-bdb-lib=/usr/$(get_libdir) --with-bdb-inc=$(db_includedir 2> /dev/null)" - #sed -i "s!-ldb!-ldb${db_version}!" configure - else - myconf+=" --without-bdb" - fi + if use berkdb; then + local db_version + db_version="$(db_findver sys-libs/db)" || die "Unable to find Berkeley DB version" + db_version="$(db_ver_to_slot "${db_version}")" + db_version="${db_version/\./}" + myconf+=" --with-bdb --with-bdb-lib=/usr/$(get_libdir) --with-bdb-inc=$(db_includedir 2> /dev/null)" + #sed -i "s!-ldb!-ldb${db_version}!" configure + else + myconf+=" --without-bdb" + fi - econf ${myconf} + econf ${myconf} } src_install() { - dobin ${PN} || die "dobin failed" - dodoc CHANGELOG README - docinto samples - dodoc samples/* + dobin ${PN} || die "dobin failed" + dodoc CHANGELOG README + docinto samples + dodoc samples/* }