X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=citadel%2Fbuildpackages;fp=citadel%2Fbuildpackages;h=f1ae0097f41f02451070ea747da53ca6b9fa12b0;hb=819acff4ee67e603054de2790c171158265898c7;hp=40cbf5ad5cbd58bc49b18e48959f5c574dda6bfa;hpb=425c277481e92f78631f45ba17797fa293d7cca7;p=citadel.git diff --git a/citadel/buildpackages b/citadel/buildpackages index 40cbf5ad5..f1ae0097f 100755 --- a/citadel/buildpackages +++ b/citadel/buildpackages @@ -39,9 +39,6 @@ fi case $1 in debian) - -#dpkg-source: warning: source directory `./citadel' is not - `citadel-6.61' - if grep -q "($CITADEL_VERSION" debian/changelog; then echo rebuilding package. else @@ -61,6 +58,43 @@ case $1 in else fakeroot dpkg-buildpackage fi + ;; + csw) + if !test -d ~/pkgs/; then + mkdir ~/pkgs + fi + echo " +PKG=CSWcitadel +NAME=citadel - The groupware server for Web 2.0 +VERSION=${PACKAGE_VERSION} +CATEGORY=application +VENDOR=http://www.citadel.org/ packaged for CSW by Wilfried Goesgens +HOTLINE=https://uncensored.citadel.org/ Room citadel support +EMAIL=citadel@outgesourced.org +" >~/pkgs/citadel + export LDFLAGS='-L/opt/csw/lib -L /usr/local/lib' + export CFLAGS='-I/opt/csw/include -I/usr/local/include -DDISABLE_CURSES' + ./configure \ + --with-db=/opt/csw/bdb44 \ + --with-ical=/usr/local/ \ + --without-curses \ + --with-prefix=/opt/csw/ \ + --with-datadir=/opt/csw/var/lib/citadel \ + --with-sysconfdir=/opt/csw/etc/citadel \ + --with-ssldir=/opt/csw/etc/ssl/citadel/ \ + --with-spooldir=/opt/csw/var/spool/citadel \ + --with-rundir=/opt/csw/var/run/citadel \ + --with-docdir=/opt/csw/share/doc/citadel-doc/ \ + --with-pam \ + --with-zlib \ + --with-ldap \ + --with-libsieve + + gmake citserver aidepost msgform citmail userlist sendcommand base64 whobbs citadel + gmake DESTDIR=$ACTUAL_DIR/cswstage install-new + + + ;; sourcedist) cd ..; tar --exclude .svn -cvzf citadel-$CITADEL_VERSION.tgz citadel-$CITADEL_VERSION/