summaryrefslogtreecommitdiff
path: root/dev-db
diff options
context:
space:
mode:
authorSeemant Kulleen <seemant@gentoo.org>2006-05-06 20:46:32 +0000
committerSeemant Kulleen <seemant@gentoo.org>2006-05-06 20:46:32 +0000
commitaf774c57b4c8e2fe8178bef131d8de0517fd6ad5 (patch)
tree151564db434bef8ed3a0467dbd1fb23ce44a6f6e /dev-db
parentIgnore output of renice command. (diff)
downloadhistorical-af774c57b4c8e2fe8178bef131d8de0517fd6ad5.tar.gz
historical-af774c57b4c8e2fe8178bef131d8de0517fd6ad5.tar.bz2
historical-af774c57b4c8e2fe8178bef131d8de0517fd6ad5.zip
Skip tests gracefully, based on my changes last time. Also, migrate those changes to the two sqlite-2 ebuilds.
Package-Manager: portage-2.1_pre9-r5
Diffstat (limited to 'dev-db')
-rw-r--r--dev-db/sqlite/ChangeLog8
-rw-r--r--dev-db/sqlite/Manifest48
-rw-r--r--dev-db/sqlite/sqlite-2.8.16-r3.ebuild66
-rw-r--r--dev-db/sqlite/sqlite-2.8.16-r4.ebuild64
-rw-r--r--dev-db/sqlite/sqlite-3.3.4.ebuild25
-rw-r--r--dev-db/sqlite/sqlite-3.3.5-r1.ebuild27
-rw-r--r--dev-db/sqlite/sqlite-3.3.5.ebuild27
7 files changed, 150 insertions, 115 deletions
diff --git a/dev-db/sqlite/ChangeLog b/dev-db/sqlite/ChangeLog
index ee2560a99dda..3301a56c30d8 100644
--- a/dev-db/sqlite/ChangeLog
+++ b/dev-db/sqlite/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-db/sqlite
# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/sqlite/ChangeLog,v 1.109 2006/05/04 13:00:38 seemant Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/sqlite/ChangeLog,v 1.110 2006/05/06 20:46:32 seemant Exp $
+
+ 06 May 2006; Seemant Kulleen <seemant@gentoo.org> sqlite-2.8.16-r3.ebuild,
+ sqlite-2.8.16-r4.ebuild, sqlite-3.3.4.ebuild, sqlite-3.3.5.ebuild,
+ sqlite-3.3.5-r1.ebuild:
+ Skip tests gracefully, based on my changes last time. Also, migrate those
+ changes to the two sqlite-2 ebuilds.
04 May 2006; Seemant Kulleen <seemant@gentoo.org> sqlite-3.3.4.ebuild,
sqlite-3.3.5.ebuild, sqlite-3.3.5-r1.ebuild:
diff --git a/dev-db/sqlite/Manifest b/dev-db/sqlite/Manifest
index cc4be8899381..ae02d7731ead 100644
--- a/dev-db/sqlite/Manifest
+++ b/dev-db/sqlite/Manifest
@@ -64,14 +64,14 @@ EBUILD sqlite-2.8.16-r1.ebuild 1785 RMD160 943345441d414fa1101af1422ddad3c4de93e
MD5 7882c50758ad52018f654a9fe3c0f316 sqlite-2.8.16-r1.ebuild 1785
RMD160 943345441d414fa1101af1422ddad3c4de93eb54 sqlite-2.8.16-r1.ebuild 1785
SHA256 49304e796ce80b24a1a0fafc699ba88e07fd87966cc5417367ad417ab0c82aa9 sqlite-2.8.16-r1.ebuild 1785
-EBUILD sqlite-2.8.16-r3.ebuild 2424 RMD160 8d6e725044f990b9148e01757472f6abe9b0db29 SHA1 a2682e061093f5ed8d95a663186212c529567aae SHA256 681433c98bda8d1fcc71f95b55532537eb1e31eb70393d8e35db1ab8369ac8a0 size 2424
-MD5 2cc3f32465548a99ee26409982a0c791 sqlite-2.8.16-r3.ebuild 2424
-RMD160 8d6e725044f990b9148e01757472f6abe9b0db29 sqlite-2.8.16-r3.ebuild 2424
-SHA256 681433c98bda8d1fcc71f95b55532537eb1e31eb70393d8e35db1ab8369ac8a0 sqlite-2.8.16-r3.ebuild 2424
-EBUILD sqlite-2.8.16-r4.ebuild 2424 RMD160 5c2017a0119f2b9a601040314e187a996263a840 SHA1 007e7e30a68d18b0ae51d9255fd763d19e7e8d99 SHA256 47c490da3afc88b99effa42b86be2e119d568dc664e474db05ce83d52823f1f3 size 2424
-MD5 4164baf9d561a8061ff0ef52d9ab075a sqlite-2.8.16-r4.ebuild 2424
-RMD160 5c2017a0119f2b9a601040314e187a996263a840 sqlite-2.8.16-r4.ebuild 2424
-SHA256 47c490da3afc88b99effa42b86be2e119d568dc664e474db05ce83d52823f1f3 sqlite-2.8.16-r4.ebuild 2424
+EBUILD sqlite-2.8.16-r3.ebuild 2551 RMD160 6f6704125155f42162e79945285e7c1f4ad4a031 SHA1 09e0747179a62fd7dee14bbcf0a5276ebd2288e8 SHA256 f856c3ec4f43760981b0b79b584810bdac53d51a234d32dcdb39247b34a5fa91 size 2551
+MD5 2d100831520cc48f3fb2ef7d88405b40 sqlite-2.8.16-r3.ebuild 2551
+RMD160 6f6704125155f42162e79945285e7c1f4ad4a031 sqlite-2.8.16-r3.ebuild 2551
+SHA256 f856c3ec4f43760981b0b79b584810bdac53d51a234d32dcdb39247b34a5fa91 sqlite-2.8.16-r3.ebuild 2551
+EBUILD sqlite-2.8.16-r4.ebuild 2550 RMD160 2a4c965a339605f70e4c29ef5bef97222d2480a2 SHA1 bfa652cc0af2fd63fb2a3fa22021168a7b99e591 SHA256 2a9689627258514e3e6c61de15222a9e0e7ee9b2495f27b37d1000986bd265e5 size 2550
+MD5 934d5f77e36965be86fe80c5f35e1b05 sqlite-2.8.16-r4.ebuild 2550
+RMD160 2a4c965a339605f70e4c29ef5bef97222d2480a2 sqlite-2.8.16-r4.ebuild 2550
+SHA256 2a9689627258514e3e6c61de15222a9e0e7ee9b2495f27b37d1000986bd265e5 sqlite-2.8.16-r4.ebuild 2550
EBUILD sqlite-3.2.1-r3.ebuild 1576 RMD160 6658f320844f1a7041f824ae26c04fc894232dbd SHA1 b16d51aa290ee6a817ea376f8f459ce9b81d5193 SHA256 079e2b16556b66114cccd005c4f3568bcf7076713a0b977c418d3d2c18fcbfa8 size 1576
MD5 1041e20dae935fba256ac55ae98601b4 sqlite-3.2.1-r3.ebuild 1576
RMD160 6658f320844f1a7041f824ae26c04fc894232dbd sqlite-3.2.1-r3.ebuild 1576
@@ -80,22 +80,22 @@ EBUILD sqlite-3.2.7-r1.ebuild 1604 RMD160 0436f775bf64aede506bd1e4b0c1f7c85c6332
MD5 7eee6b1abc84d8dc4188e7fe52080359 sqlite-3.2.7-r1.ebuild 1604
RMD160 0436f775bf64aede506bd1e4b0c1f7c85c633201 sqlite-3.2.7-r1.ebuild 1604
SHA256 166b9954dc551ab0a1c806a295d2c3d3052d040188277f841a8a4aa5a27204a8 sqlite-3.2.7-r1.ebuild 1604
-EBUILD sqlite-3.3.4.ebuild 2213 RMD160 7b0f59ff67d6fa306d7304fa87c2f60a5d70b0f9 SHA1 fc2701df807534d9dcd63c6ef4912a4486554016 SHA256 fc11f5018414d6ef680b97ee559845d5b8e191eac5ba9ba7162f806e07c18c18 size 2213
-MD5 b4b4c025c599bf50252ab1be4731b651 sqlite-3.3.4.ebuild 2213
-RMD160 7b0f59ff67d6fa306d7304fa87c2f60a5d70b0f9 sqlite-3.3.4.ebuild 2213
-SHA256 fc11f5018414d6ef680b97ee559845d5b8e191eac5ba9ba7162f806e07c18c18 sqlite-3.3.4.ebuild 2213
-EBUILD sqlite-3.3.5-r1.ebuild 2176 RMD160 167422b1323ccbeb995527c14a8f39d897c3484a SHA1 9e0b02fd3571e60a381913b7be93e7941fe4f675 SHA256 a9bf714241af0854cc2883bb68d2b1c5a459af3a9002386ed1a140a7997a7f46 size 2176
-MD5 0e47a3f19865be5725718dc6e1c22627 sqlite-3.3.5-r1.ebuild 2176
-RMD160 167422b1323ccbeb995527c14a8f39d897c3484a sqlite-3.3.5-r1.ebuild 2176
-SHA256 a9bf714241af0854cc2883bb68d2b1c5a459af3a9002386ed1a140a7997a7f46 sqlite-3.3.5-r1.ebuild 2176
-EBUILD sqlite-3.3.5.ebuild 2179 RMD160 1c2f8902f399f4133f8d84dd60ccdc1aaff36a0e SHA1 7660b6458581856ccec2e428ce541f43b98857e6 SHA256 d7f6b45faf58c65cad1f616c72a77b53b4c082c1d52ec6e4c0939b2f06d7f21c size 2179
-MD5 560acc8238594f13e4d3dc8c2729bd5d sqlite-3.3.5.ebuild 2179
-RMD160 1c2f8902f399f4133f8d84dd60ccdc1aaff36a0e sqlite-3.3.5.ebuild 2179
-SHA256 d7f6b45faf58c65cad1f616c72a77b53b4c082c1d52ec6e4c0939b2f06d7f21c sqlite-3.3.5.ebuild 2179
-MISC ChangeLog 15500 RMD160 d8961fe92ae35b52911c660fba4a9736873e9300 SHA1 7b819a9c310249a37c7ecc7eb2e9c30a55d35d45 SHA256 7e960f26d2b37a259aae9d519ec1c9117b4c924418ca09fc595c0fe4182f8043 size 15500
-MD5 bbf80595be5b3602598911b247e12164 ChangeLog 15500
-RMD160 d8961fe92ae35b52911c660fba4a9736873e9300 ChangeLog 15500
-SHA256 7e960f26d2b37a259aae9d519ec1c9117b4c924418ca09fc595c0fe4182f8043 ChangeLog 15500
+EBUILD sqlite-3.3.4.ebuild 2306 RMD160 aeae20ce8b4464feb97540aaf8607d16ff6671c5 SHA1 8c6048e4128006a2627d9458af1448e4d00a84d4 SHA256 165f2463626637452e34ffc8452362e959dca01b3e603f2b9acd91624b3d4ea2 size 2306
+MD5 fd33cd4b9cb29f7af9c0b70e4e9c4aa3 sqlite-3.3.4.ebuild 2306
+RMD160 aeae20ce8b4464feb97540aaf8607d16ff6671c5 sqlite-3.3.4.ebuild 2306
+SHA256 165f2463626637452e34ffc8452362e959dca01b3e603f2b9acd91624b3d4ea2 sqlite-3.3.4.ebuild 2306
+EBUILD sqlite-3.3.5-r1.ebuild 2269 RMD160 870df3d8b192cd0746713f99978ecf709f58412e SHA1 c71dc32110afe2a5747dcec3efad5552adafb63d SHA256 4069c8c50c9bca0618ec8f32fa67cf54bbc3f17cd43688127d558dfcf803429e size 2269
+MD5 26592aaacc763ab37253c24620c3f937 sqlite-3.3.5-r1.ebuild 2269
+RMD160 870df3d8b192cd0746713f99978ecf709f58412e sqlite-3.3.5-r1.ebuild 2269
+SHA256 4069c8c50c9bca0618ec8f32fa67cf54bbc3f17cd43688127d558dfcf803429e sqlite-3.3.5-r1.ebuild 2269
+EBUILD sqlite-3.3.5.ebuild 2273 RMD160 4790ca21b11bd387ad1af1144c39a63b2306a0f0 SHA1 7707076a1b54d97788a1e1fa994343c1bd86d24d SHA256 d87d1feba1194a6ea87314de2a3a54715efeed3916666746109fc74e7d4b40c8 size 2273
+MD5 a8415ee707474913286926b3106b3e95 sqlite-3.3.5.ebuild 2273
+RMD160 4790ca21b11bd387ad1af1144c39a63b2306a0f0 sqlite-3.3.5.ebuild 2273
+SHA256 d87d1feba1194a6ea87314de2a3a54715efeed3916666746109fc74e7d4b40c8 sqlite-3.3.5.ebuild 2273
+MISC ChangeLog 15788 RMD160 4519ba9b75079db61023454e5bce91bc2f8fe5c5 SHA1 6ba906c8e0e596eadd904e61ee208fe35684d174 SHA256 125156d6eb5ec9ee58f0f2301c4008bbce06f1c2232ff6757d1acd672ece13bc size 15788
+MD5 bd4d7e147e750325610550b533694b28 ChangeLog 15788
+RMD160 4519ba9b75079db61023454e5bce91bc2f8fe5c5 ChangeLog 15788
+SHA256 125156d6eb5ec9ee58f0f2301c4008bbce06f1c2232ff6757d1acd672ece13bc ChangeLog 15788
MISC metadata.xml 215 RMD160 393ad11a7ed92426bb0c3e44f9bf3a9d4e25246e SHA1 8e66d2013069e51e4e703d4fd56d35342ac4a76d SHA256 268bcaa7dbd534b681bc5b342c38bf491e083f641ef426a86976086ef2e23358 size 215
MD5 4948a42b1563d389b9bbbd1941e12934 metadata.xml 215
RMD160 393ad11a7ed92426bb0c3e44f9bf3a9d4e25246e metadata.xml 215
diff --git a/dev-db/sqlite/sqlite-2.8.16-r3.ebuild b/dev-db/sqlite/sqlite-2.8.16-r3.ebuild
index 63765a8306f5..4351ddd16d58 100644
--- a/dev-db/sqlite/sqlite-2.8.16-r3.ebuild
+++ b/dev-db/sqlite/sqlite-2.8.16-r3.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/sqlite/sqlite-2.8.16-r3.ebuild,v 1.2 2006/05/04 00:20:39 arj Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/sqlite/sqlite-2.8.16-r3.ebuild,v 1.3 2006/05/06 20:46:32 seemant Exp $
inherit eutils toolchain-funcs alternatives
@@ -23,17 +23,17 @@ ALTERNATIVES="${SOURCE}-3 ${SOURCE}-0"
src_unpack() {
# test
if has test ${FEATURES}; then
- if ! has userpriv ${FEATURES}; then
- die "The userpriv feature must be enabled to run tests"
+ if ! has userpriv ${FEATURES}; then
+ ewarn "The userpriv feature must be enabled to run tests."
+ ewarn "The testsuite will be skipped."
+ fi
+ if ! use tcltk; then
+ ewarn "The tcltk useflag must be enabled to run tests."
+ ewarn "The testsuite will be skipped."
+ fi
fi
- if ! use tcltk; then
- die "The tcltk useflag must be enabled to run tests"
- fi
- fi
-
- unpack ${A}
- cd ${S}
+ unpack ${A} ; cd ${S}
use hppa && epatch ${FILESDIR}/${PN}-2.8.15-alignement-fix.patch
@@ -48,12 +48,12 @@ src_unpack() {
fi
sed -i -e "s:@@S@@:${S}:g" \
- -e "s:@@CC@@:$(tc-getCC):g" \
- -e "s:@@CFLAGS@@:${CFLAGS}:g" \
- -e "s:@@AR@@:$(tc-getAR):g" \
- -e "s:@@RANLIB@@:$(tc-getRANLIB):g" \
- -e "s:@@ENCODING@@:${ENCODING}:g" \
- ${S}/Makefile.linux-gcc
+ -e "s:@@CC@@:$(tc-getCC):g" \
+ -e "s:@@CFLAGS@@:${CFLAGS}:g" \
+ -e "s:@@AR@@:$(tc-getAR):g" \
+ -e "s:@@RANLIB@@:$(tc-getRANLIB):g" \
+ -e "s:@@ENCODING@@:${ENCODING}:g" \
+ ${S}/Makefile.linux-gcc
}
src_compile() {
@@ -62,29 +62,33 @@ src_compile() {
myconf="${myconf} `use_enable nls utf8`"
if ! use tcltk; then
- myconf="${myconf} --without-tcl"
+ myconf="${myconf} --without-tcl"
fi
econf ${myconf} || die
emake all || die
if use doc; then
- emake doc || die
+ emake doc || die
fi
if use tcltk; then
- cp -P ${FILESDIR}/maketcllib.sh ${S}
- chmod +x ./maketcllib.sh
- ./maketcllib.sh
+ cp -P ${FILESDIR}/maketcllib.sh ${S}
+ chmod +x ./maketcllib.sh
+ ./maketcllib.sh
fi
}
src_test() {
- einfo "sqlite 2.x is known to have problems on 64 bit architectures"
- einfo "if you observe segmentation faults please use 3.x instead"
-
- cd ${S}
- emake test || die "some test failed"
+ if use tcktk ; then
+ if has userpriv ${FEATURES} ; then
+ einfo "sqlite 2.x is known to have problems on 64 bit architectures"
+ einfo "if you observe segmentation faults please use 3.x instead"
+
+ cd ${S}
+ emake test || die "some test failed"
+ fi
+ fi
}
src_install () {
@@ -98,13 +102,13 @@ src_install () {
doman sqlite.1
if use doc; then
- docinto html
- dohtml doc/*.html doc/*.txt doc/*.png
+ docinto html
+ dohtml doc/*.html doc/*.txt doc/*.png
fi
if use tcltk; then
- mkdir ${D}/usr/$(get_libdir)/tclsqlite${PV}
- cp ${S}/tclsqlite.so ${D}/usr/$(get_libdir)/tclsqlite${PV}/
- cp ${S}/pkgIndex.tcl ${D}/usr/$(get_libdir)/tclsqlite${PV}/
+ mkdir ${D}/usr/$(get_libdir)/tclsqlite${PV}
+ cp ${S}/tclsqlite.so ${D}/usr/$(get_libdir)/tclsqlite${PV}/
+ cp ${S}/pkgIndex.tcl ${D}/usr/$(get_libdir)/tclsqlite${PV}/
fi
}
diff --git a/dev-db/sqlite/sqlite-2.8.16-r4.ebuild b/dev-db/sqlite/sqlite-2.8.16-r4.ebuild
index 5d823682f046..6bd5eb25c919 100644
--- a/dev-db/sqlite/sqlite-2.8.16-r4.ebuild
+++ b/dev-db/sqlite/sqlite-2.8.16-r4.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/sqlite/sqlite-2.8.16-r4.ebuild,v 1.1 2006/05/04 00:30:05 arj Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/sqlite/sqlite-2.8.16-r4.ebuild,v 1.2 2006/05/06 20:46:32 seemant Exp $
inherit eutils toolchain-funcs alternatives
@@ -23,17 +23,17 @@ ALTERNATIVES="${SOURCE}-3 ${SOURCE}-0"
src_unpack() {
# test
if has test ${FEATURES}; then
- if ! has userpriv ${FEATURES}; then
- die "The userpriv feature must be enabled to run tests"
+ if ! has userpriv ${FEATURES}; then
+ ewarn "The userpriv feature must be enabled to run tests."
+ ewarn "The testsuite will be skipped."
fi
- if ! use tcltk; then
- die "The tcltk useflag must be enabled to run tests"
- fi
+ if ! use tcltk; then
+ ewarn "The tcltk useflag must be enabled to run tests."
+ ewarn "The testsuite will be skipped."
+ fi
fi
- unpack ${A}
-
- cd ${S}
+ unpack ${A} ; cd ${S}
use hppa && epatch ${FILESDIR}/${PN}-2.8.15-alignement-fix.patch
@@ -48,12 +48,12 @@ src_unpack() {
fi
sed -i -e "s:@@S@@:${S}:g" \
- -e "s:@@CC@@:$(tc-getCC):g" \
- -e "s:@@CFLAGS@@:${CFLAGS}:g" \
- -e "s:@@AR@@:$(tc-getAR):g" \
- -e "s:@@RANLIB@@:$(tc-getRANLIB):g" \
- -e "s:@@ENCODING@@:${ENCODING}:g" \
- ${S}/Makefile.linux-gcc
+ -e "s:@@CC@@:$(tc-getCC):g" \
+ -e "s:@@CFLAGS@@:${CFLAGS}:g" \
+ -e "s:@@AR@@:$(tc-getAR):g" \
+ -e "s:@@RANLIB@@:$(tc-getRANLIB):g" \
+ -e "s:@@ENCODING@@:${ENCODING}:g" \
+ ${S}/Makefile.linux-gcc
}
src_compile() {
@@ -62,29 +62,33 @@ src_compile() {
myconf="${myconf} `use_enable nls utf8`"
if ! use tcltk; then
- myconf="${myconf} --without-tcl"
+ myconf="${myconf} --without-tcl"
fi
econf ${myconf} || die
emake all || die
if use doc; then
- emake doc || die
+ emake doc || die
fi
if use tcltk; then
- cp -P ${FILESDIR}/maketcllib.sh ${S}
- chmod +x ./maketcllib.sh
- ./maketcllib.sh
+ cp -P ${FILESDIR}/maketcllib.sh ${S}
+ chmod +x ./maketcllib.sh
+ ./maketcllib.sh
fi
}
src_test() {
- einfo "sqlite 2.x is known to have problems on 64 bit architectures"
- einfo "if you observe segmentation faults please use 3.x instead"
-
- cd ${S}
- emake test || die "some test failed"
+ if use tcltk ; then
+ if has userpriv ${FEATURES} ; then
+ einfo "sqlite 2.x is known to have problems on 64 bit architectures"
+ einfo "if you observe segmentation faults please use 3.x instead"
+
+ cd ${S}
+ emake test || die "some test failed"
+ fi
+ fi
}
src_install () {
@@ -98,13 +102,13 @@ src_install () {
doman sqlite.1
if use doc; then
- docinto html
- dohtml doc/*.html doc/*.txt doc/*.png
+ docinto html
+ dohtml doc/*.html doc/*.txt doc/*.png
fi
if use tcltk; then
- mkdir ${D}/usr/$(get_libdir)/tclsqlite${PV}
- cp ${S}/tclsqlite.so ${D}/usr/$(get_libdir)/tclsqlite${PV}/
- cp ${S}/pkgIndex.tcl ${D}/usr/$(get_libdir)/tclsqlite${PV}/
+ mkdir ${D}/usr/$(get_libdir)/tclsqlite${PV}
+ cp ${S}/tclsqlite.so ${D}/usr/$(get_libdir)/tclsqlite${PV}/
+ cp ${S}/pkgIndex.tcl ${D}/usr/$(get_libdir)/tclsqlite${PV}/
fi
}
diff --git a/dev-db/sqlite/sqlite-3.3.4.ebuild b/dev-db/sqlite/sqlite-3.3.4.ebuild
index bd213b021db4..c27d95b42406 100644
--- a/dev-db/sqlite/sqlite-3.3.4.ebuild
+++ b/dev-db/sqlite/sqlite-3.3.4.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/sqlite/sqlite-3.3.4.ebuild,v 1.2 2006/05/04 13:00:38 seemant Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/sqlite/sqlite-3.3.4.ebuild,v 1.3 2006/05/06 20:46:32 seemant Exp $
inherit eutils
@@ -72,25 +72,32 @@ src_compile() {
emake all || die
if use doc; then
- emake doc
+ emake doc
fi
}
src_test() {
- cd ${S}
- if use debug; then
- emake fulltest || die "some test failed"
- else
- emake test || die "some test failed"
+ if use tcltk ; then
+ if has userpriv ${FEATURES} ; then
+ cd ${S}
+ if use debug; then
+ emake fulltest || die "some test failed"
+ else
+ emake test || die "some test failed"
+ fi
+ fi
fi
}
src_install () {
- make DESTDIR="${D}" TCLLIBDIR="/usr/$(get_libdir)" install || die
+ make \
+ DESTDIR="${D}" \
+ TCLLIBDIR="/usr/$(get_libdir)" \
+ install || die
if ! [ -e ${DESTDIR}/usr/bin/lemon ]
then
- dobin lemon
+ dobin lemon
fi
dodoc README VERSION
diff --git a/dev-db/sqlite/sqlite-3.3.5-r1.ebuild b/dev-db/sqlite/sqlite-3.3.5-r1.ebuild
index 7d8a2dd479ae..75ae9428c6d2 100644
--- a/dev-db/sqlite/sqlite-3.3.5-r1.ebuild
+++ b/dev-db/sqlite/sqlite-3.3.5-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/sqlite/sqlite-3.3.5-r1.ebuild,v 1.2 2006/05/04 13:00:38 seemant Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/sqlite/sqlite-3.3.5-r1.ebuild,v 1.3 2006/05/06 20:46:32 seemant Exp $
inherit eutils alternatives
@@ -71,21 +71,28 @@ src_compile() {
emake all || die
if use doc; then
- emake doc
+ emake doc
fi
}
src_test() {
- cd ${S}
- if use debug; then
- emake fulltest || die "some test failed"
- else
- emake test || die "some test failed"
+ if use tcltk ; then
+ if has usepriv ${FEATURES} ; then
+ cd ${S}
+ if use debug; then
+ emake fulltest || die "some test failed"
+ else
+ emake test || die "some test failed"
+ fi
+ fi
fi
}
src_install () {
- make DESTDIR="${D}" TCLLIBDIR="/usr/$(get_libdir)" install || die
+ make \
+ DESTDIR="${D}" \
+ TCLLIBDIR="/usr/$(get_libdir)" \
+ install || die
newbin lemon lemon-${SLOT}
@@ -93,7 +100,7 @@ src_install () {
doman sqlite3.1
if use doc; then
- docinto html
- dohtml doc/*.html doc/*.txt doc/*.png
+ docinto html
+ dohtml doc/*.html doc/*.txt doc/*.png
fi
}
diff --git a/dev-db/sqlite/sqlite-3.3.5.ebuild b/dev-db/sqlite/sqlite-3.3.5.ebuild
index 899860205217..4428b1ffaebb 100644
--- a/dev-db/sqlite/sqlite-3.3.5.ebuild
+++ b/dev-db/sqlite/sqlite-3.3.5.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/sqlite/sqlite-3.3.5.ebuild,v 1.4 2006/05/04 13:00:38 seemant Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/sqlite/sqlite-3.3.5.ebuild,v 1.5 2006/05/06 20:46:32 seemant Exp $
inherit eutils alternatives
@@ -71,21 +71,28 @@ src_compile() {
emake all || die
if use doc; then
- emake doc
+ emake doc
fi
}
src_test() {
- cd ${S}
- if use debug; then
- emake fulltest || die "some test failed"
- else
- emake test || die "some test failed"
+ if use tcltk ; then
+ if has userpriv ${FEATURES} ; then
+ cd ${S}
+ if use debug; then
+ emake fulltest || die "some test failed"
+ else
+ emake test || die "some test failed"
+ fi
+ fi
fi
}
src_install () {
- make DESTDIR="${D}" TCLLIBDIR="/usr/$(get_libdir)" install || die
+ make \
+ DESTDIR="${D}" \
+ TCLLIBDIR="/usr/$(get_libdir)" \
+ install || die
newbin lemon lemon-${SLOT}
@@ -93,7 +100,7 @@ src_install () {
doman sqlite3.1
if use doc; then
- docinto html
- dohtml doc/*.html doc/*.txt doc/*.png
+ docinto html
+ dohtml doc/*.html doc/*.txt doc/*.png
fi
}