Lines 1-7
Link Here
|
1 |
# Copyright 1999-2002 Gentoo Technologies, Inc. |
1 |
# Copyright 1999-2002 Gentoo Technologies, Inc. |
2 |
# Distributed under the terms of the GNU General Public License, v2 or later |
2 |
# Distributed under the terms of the GNU General Public License, v2 or later |
3 |
# Author Achim Gottinger <achim@gentoo.org> |
3 |
# Author Achim Gottinger <achim@gentoo.org> |
4 |
# /space/gentoo/cvsroot/gentoo-x86/net-www/htdig/htdig-3.1.6-r1.ebuild,v 1.1 2002/04/24 18:59:23 seemant Exp{PN}/${PN}-3.1.5-r2.ebuild,v 1.2 2002/03/15 12:10:18 danarmak Exp $ |
4 |
# /space/gentoo/cvsroot/gentoo-x86/net-www/htdig/htdig-3.1.6.ebuild,v 1.1 2002/04/15 11:12:07 seemant Exp{PN}/${PN}-3.1.5-r2.ebuild,v 1.2 2002/03/15 12:10:18 danarmak Exp $ |
5 |
|
5 |
|
6 |
S=${WORKDIR}/${P} |
6 |
S=${WORKDIR}/${P} |
7 |
DESCRIPTION="HTTP/HTML indexing and searching system" |
7 |
DESCRIPTION="HTTP/HTML indexing and searching system" |
Lines 17-29
Link Here
|
17 |
./configure \ |
17 |
./configure \ |
18 |
--prefix=/usr \ |
18 |
--prefix=/usr \ |
19 |
--with-config-dir=/etc/${PN} \ |
19 |
--with-config-dir=/etc/${PN} \ |
20 |
--with-image-dir=/home/httpd/htdocs/${PN} \ |
|
|
21 |
--with-search-dir=/home/httpd/htdocs/${PN} \ |
20 |
--with-search-dir=/home/httpd/htdocs/${PN} \ |
22 |
--with-cgi-bin-dir=/home/httpd \ |
21 |
--with-cgi-bin-dir=/home/httpd/cgi-bin \ |
23 |
--with-common-dir=/usr/share/${PN} \ |
22 |
--with-common-dir=/usr/share/${PN} \ |
24 |
--with-database-dir=/var/${PN} \ |
23 |
--with-database-dir=/var/${PN} \ |
25 |
--with-image-dir=/home/httpd/images/${PN} \ |
24 |
--with-image-dir=/home/httpd/htdocs/${PN} \ |
26 |
--with-search-dir=/home/httpd/htdocs/${PN} \ |
|
|
27 |
--with-default-config-file=/etc/${PN}/${PN}.conf \ |
25 |
--with-default-config-file=/etc/${PN}/${PN}.conf \ |
28 |
|| die |
26 |
|| die |
29 |
|
27 |
|
Lines 36-48
Link Here
|
36 |
make \ |
34 |
make \ |
37 |
DESTDIR=${D} \ |
35 |
DESTDIR=${D} \ |
38 |
CONFIG_DIR=${D}/etc/${PN} \ |
36 |
CONFIG_DIR=${D}/etc/${PN} \ |
39 |
IMAGE_DIR=${D}/home/httpd/htdocs/${PN} \ |
|
|
40 |
SEARCH_DIR=${D}/home/httpd/htdocs/${PN} \ |
37 |
SEARCH_DIR=${D}/home/httpd/htdocs/${PN} \ |
41 |
CGIBIN_DIR=${D}/home/httpd \ |
38 |
CGIBIN_DIR=${D}/home/httpd/cgi-bin \ |
42 |
COMMON_DIR=${D}/usr/share/${PN} \ |
39 |
COMMON_DIR=${D}/usr/share/${PN} \ |
43 |
DATABASE_DIR=${D}/var/${PN} \ |
40 |
DATABASE_DIR=${D}/var/${PN} \ |
44 |
IMAGE_DIR=${D}/home/httpd/images/${PN} \ |
41 |
IMAGE_DIR=${D}/home/httpd/htdocs/${PN} \ |
45 |
SEARCH_DIR=${D}/home/httpd/htdocs/htdig \ |
|
|
46 |
DEFAULT_CONFIG_FILE=${D}/etc/${PN}/${PN}.conf \ |
42 |
DEFAULT_CONFIG_FILE=${D}/etc/${PN}/${PN}.conf \ |
47 |
exec_prefix=${D}/usr \ |
43 |
exec_prefix=${D}/usr \ |
48 |
install || die |
44 |
install || die |
Lines 53-58
Link Here
|
53 |
insinto /etc/conf.d |
49 |
insinto /etc/conf.d |
54 |
doins installdir/htdig.conf |
50 |
doins installdir/htdig.conf |
55 |
|
51 |
|
56 |
dosed /etc/httpd/htdig.conf |
52 |
dosed /etc/htdig/htdig.conf |
57 |
dosed /usr/bin/rundig |
53 |
dosed /usr/bin/rundig |
58 |
} |
54 |
} |