Lars Strojny commited on 2007-03-18 20:16:07
Zeige 1 geänderte Dateien mit 4 Einfügungen und 7 Löschungen.
| ... | ... |
@@ -7,15 +7,9 @@ |
| 7 | 7 |
# Purpose: Providing macros to handle installation and setup of the py-transport |
| 8 | 8 |
# family |
| 9 | 9 |
# |
| 10 |
- |
|
| 11 |
- |
|
| 12 |
-PYTRANSPORT_LIB_DIR=${PYTRANSPORT_LIB_DIR:=tools data src}
|
|
| 13 |
- |
|
| 14 | 10 |
inherit eutils python |
| 15 |
- |
|
| 16 | 11 |
ECLASS="pytransport" |
| 17 | 12 |
INHERITED="$INHERITED $ECLASS" |
| 18 |
- |
|
| 19 | 13 |
EXPORT_FUNCTIONS src_install pkg_postinst |
| 20 | 14 |
|
| 21 | 15 |
LICENSE="GPL-2" |
| ... | ... |
@@ -48,7 +41,7 @@ RDEPEND="<dev-python/twisted-2.4 |
| 48 | 41 |
<dev-python/nevow-0.8 |
| 49 | 42 |
>=dev-python/imaging-1.1" |
| 50 | 43 |
|
| 51 |
- |
|
| 44 |
+PYTRANSPORT_LIB_DIR=${PYTRANSPORT_LIB_DIR:=tools data src}
|
|
| 52 | 45 |
PYTRANSPORT_CONFIG=config_example.xml |
| 53 | 46 |
|
| 54 | 47 |
# Create the minimal token name from the package name |
| ... | ... |
@@ -162,6 +155,9 @@ pytransport_src_install() {
|
| 162 | 155 |
newexe myinitd ${PN}
|
| 163 | 156 |
} |
| 164 | 157 |
|
| 158 |
+# |
|
| 159 |
+# Show postinst information |
|
| 160 |
+# |
|
| 165 | 161 |
pytransport_pkg_postinst() {
|
| 166 | 162 |
einfo "A sample configuration file has been installed in /etc/jabber/${PN}.xml."
|
| 167 | 163 |
einfo "Please edit it, and the configuration of you Jabber server to match." |
| 168 | 164 |