summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 4481281)
raw | patch | inline | side by side (parent: 4481281)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 29 Feb 2008 13:22:50 +0000 (13:22 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 29 Feb 2008 13:22:50 +0000 (13:22 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9213 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/debian/control | patch | blob | history | |
gosa-core/debian/rules | patch | blob | history |
index 71b86478c4562299e16b87138328413e5584d80d..0091457e12ba220c8f3bbe73bd954dfcbc28573b 100644 (file)
--- a/gosa-core/debian/control
+++ b/gosa-core/debian/control
Section: web
Priority: optional
Maintainer: Cajus Pollmeier <cajus@debian.org>
-Build-Depends: debhelper(>= 4.2.32), dpatch
+Build-Depends: debhelper(>= 4.2.32), dpatch, smarty
Standards-Version: 3.7.2.2
Package: gosa
diff --git a/gosa-core/debian/rules b/gosa-core/debian/rules
index db79e19f3428e0ff2b4ffde992eeefa13b64e974..40b91dee7413f831642a10e8680b2b65479d944e 100755 (executable)
--- a/gosa-core/debian/rules
+++ b/gosa-core/debian/rules
#export DH_VERBOSE=1
# Configure smarty location
-export SMARTY_LOCATION=/usr/share/php/smarty/libs
+export SMARTY_LOCATION=$(dpkg -L smarty | grep Smarty.class.php)
build: patch
#*************************************************
sed -i 's%"CONFIG_TEMPLATE_DIR", "../contrib/"%"CONFIG_TEMPLATE_DIR", "/usr/share/doc/gosa/contrib/"%g' debian/gosa/usr/share/gosa/include/functions.inc
cp include/smarty/plugins/block.render.php debian/smarty-render/usr/share/php/smarty/libs/plugins
rm -rf debian/gosa/usr/share/gosa/include/smarty; \
- sed -i "s%require(\"smarty/Smarty.class.php\");%require(\"${SMARTY_LOCATION}/Smarty.class.php\");%g" debian/gosa/usr/share/gosa/include/php_setup.inc
+ sed -i "s%require(\"smarty/Smarty.class.php\");%require(\"${SMARTY_LOCATION}\");%g" debian/gosa/usr/share/gosa/include/php_setup.inc
# Configure update location
sed -i 's%^define.*__FILE__.*%define ("GOSA_HOME", "/usr/share/gosa");%g' debian/gosa/usr/sbin/update-gosa