Lines 1-6
Link Here
|
1 |
# Copyright 1999-2004 Gentoo Technologies, Inc. |
1 |
# Copyright 1999-2004 Gentoo Technologies, Inc. |
2 |
# Distributed under the terms of the GNU General Public License v2 |
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
# $Header: /home/cvsroot/gentoo-x86/app-cdr/k3b/k3b-0.11.1-r1.ebuild,v 1.2 2004/01/27 16:16:02 lanius Exp $ |
3 |
# $Header: /home/cvsroot/gentoo-x86/app-cdr/k3b/k3b-0.11.1-r1.ebuild,v 1.1 2004/01/27 14:52:57 lanius Exp $ |
4 |
|
4 |
|
5 |
inherit kde |
5 |
inherit kde |
6 |
need-kde 3.1 |
6 |
need-kde 3.1 |
Lines 52-60
Link Here
|
52 |
use debug && myconf="${myconf} --enable-debugging --enable-profiling" \ |
52 |
use debug && myconf="${myconf} --enable-debugging --enable-profiling" \ |
53 |
|| myconf="${myconf} --disable-debugging --disable-profiling" |
53 |
|| myconf="${myconf} --disable-debugging --disable-profiling" |
54 |
use kde || myconf="${myconf} --without-k3bsetup" |
54 |
use kde || myconf="${myconf} --without-k3bsetup" |
55 |
|
|
|
56 |
# Build process of K3B |
55 |
# Build process of K3B |
57 |
kde_src_compile |
56 |
kde_src_compile myconf |
|
|
57 |
myconf="${myconf} --prefix=${KDEDIR} -C" |
58 |
kde_src_compile configure |
59 |
kde_src_compile make |
58 |
|
60 |
|
59 |
# if [ -n "${LINGUAS}" -a -d "${WORKDIR}/${I18N}" ]; then |
61 |
# if [ -n "${LINGUAS}" -a -d "${WORKDIR}/${I18N}" ]; then |
60 |
# # Build process for K3B-i18n |
62 |
# # Build process for K3B-i18n |
Lines 69-76
Link Here
|
69 |
src_install() { |
71 |
src_install() { |
70 |
make DESTDIR=${D} install || die |
72 |
make DESTDIR=${D} install || die |
71 |
|
73 |
|
72 |
dodoc AUTHORS COPYING ChangeLog FAQ README TODO |
|
|
73 |
|
74 |
# if [ -n "${LINGUAS}" -a -d "${WORKDIR}/${I18N}" ]; then |
74 |
# if [ -n "${LINGUAS}" -a -d "${WORKDIR}/${I18N}" ]; then |
75 |
# cd "${WORKDIR}/${I18N}" |
75 |
# cd "${WORKDIR}/${I18N}" |
76 |
# make DESTDIR=${D} install || die |
76 |
# make DESTDIR=${D} install || die |
Lines 79-92
Link Here
|
79 |
|
79 |
|
80 |
pkg_postinst() |
80 |
pkg_postinst() |
81 |
{ |
81 |
{ |
82 |
if use kde; then |
82 |
einfo "The k3b setup program will offer to change some permissions and" |
83 |
einfo "The k3b setup program will offer to change some permissions and" |
83 |
einfo "create a user group. These changes are not necessary. We recommend" |
84 |
einfo "create a user group. These changes are not necessary. We recommend" |
84 |
einfo "that you clear the two check boxes that let k3b make changes for" |
85 |
einfo "that you clear the two check boxes that let k3b make changes for" |
85 |
einfo "cdrecord and cdrdao and let k3b make changes for the devices when" |
86 |
einfo "cdrecord and cdrdao and let k3b make changes for the devices when" |
86 |
einfo "running k3b setup." |
87 |
einfo "running k3b setup." |
87 |
echo |
88 |
echo |
|
|
89 |
fi |
90 |
einfo "I18n tarballs are not evailable yet, due to kde 3.2 release plan." |
88 |
einfo "I18n tarballs are not evailable yet, due to kde 3.2 release plan." |
91 |
einfo "LINGUAS is \"disabled\" therefore." |
89 |
einfo "LINGUAS is \"disabled\" therefore." |
92 |
} |
90 |
} |