net-nds/yap2lc: initial checkin

git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@2563 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
geos_one 2010-10-21 19:09:19 +00:00
parent c558d1b1a0
commit 5d0917546d
4 changed files with 62 additions and 17 deletions

8
net-nds/yap2lc/ChangeLog Normal file
View File

@ -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 <mario.fetka@gmail.com> yap2lc-0.5.9.ebuild,
+metadata.xml:
initial checkin

View File

@ -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

View File

@ -0,0 +1,34 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<!--
$Header: /var/cvsroot/gentoo-x86/skel.metadata.xml,v 1.18 2008/07/28 19:27:05 cardoe Exp $
This is the example metadata file.
The root element of this file is <pkgmetadata>. Within this element a
number of subelements are allowed: herd, maintainer, and
longdescription. herd is a required subelement.
For a full description look at:
http://www.gentoo.org/proj/en/devrel/handbook/handbook.xml?part=2&chap=4
Before committing, please remove the comments from this file. They are
not relevant for general metadata.xml files.
-->
<pkgmetadata>
<herd>no-herd</herd>
<maintainer>
<email>@gentoo.org</email>
<!-- <description>Description of the maintainership</description> -->
</maintainer>
<!-- <longdescription>Long description of the package</longdescription> -->
<!--
<use>
<flag name='flag'>Description of how USE='flag' affects this package</flag>
<flag name='userland_GNU'>Description of how USERLAND='GNU' affects this
package</flag>
<flag name='aspell'>Uses <pkg>app-text/aspell</pkg> for spell checking.
Requires an installed dictionary from <cat>app-dicts</cat></flag>
</use>
-->
</pkgmetadata>

View File

@ -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/*
}