Source: sope
Priority: extra
Maintainer: Sebastian Ley <ley@debian.org>
-Build-Depends: debhelper (>= 4.0.0), dpatch, gnustep-make-ogo, gobjc | objc-compiler, libfoundation1.0-dev, libobjc1, libxml2-dev, libldap2-dev | libldap-dev, libssl-dev, zlib1g-dev, libpq-dev | postgresql-dev, libecpg-dev, apache2-threaded-dev | apache2-prefork-dev | apache2-dev, autotools-dev
+Build-Depends: debhelper (>= 4.0.0), dpatch, gobjc | objc-compiler, libxml2-dev, libldap2-dev | libldap-dev, libssl-dev, zlib1g-dev, libpq-dev | postgresql-dev, libecpg-dev, apache2-threaded-dev | apache2-prefork-dev | apache2-dev, autotools-dev
Standards-Version: 3.6.1
Package: libsope4.7-dev
Source: sope
Priority: extra
Maintainer: Sebastian Ley <ley@debian.org>
-Build-Depends: debhelper (>= 4.0.0), dpatch, gnustep-make-ogo, gobjc | objc-compiler, libfoundation1.0-dev, libobjc1, libxml2-dev, libldap2-dev | libldap-dev, libssl-dev, zlib1g-dev, libpq-dev | postgresql-dev, libecpg-dev, apache2-threaded-dev | apache2-prefork-dev | apache2-dev, autotools-dev
+Build-Depends: debhelper (>= 4.0.0), dpatch, gobjc | objc-compiler, libxml2-dev, libldap2-dev | libldap-dev, libssl-dev, zlib1g-dev, libpq-dev | postgresql-dev, libecpg-dev, apache2-threaded-dev | apache2-prefork-dev | apache2-dev, autotools-dev
Standards-Version: 3.6.1
Package: libsope_SOPEVER_-dev
#WARN: doesn't compile/package if HAS_LIBRARY_* options not present (since we use configure now)
MAKE_FLAGS = messages=yes OPTFLAG=-O0 HAS_LIBRARY_ldap=yes HAS_LIBRARY_pq=yes HAS_LIBRARY_xml2=yes
-GNUSTEP_SETUP=/usr/lib/opengroupware.org/System/Library/Makefiles/GNUstep.sh
+GNUSTEP_MAKEFILES=/usr/share/GNUstep/Makefiles
+GNUSTEP_SETUP=$(GNUSTEP_MAKEFILES)/GNUstep.sh
include Version
SOPEVER=$(MAJOR_VERSION).$(MINOR_VERSION)
done; \
rm controlfiles.tmp; \
fi
-
+
debian/control: debian/control.in debian/rules
sed -e s/_SOPEVER_/$(SOPEVER)/g < debian/control.in > debian/control
config.status: configure
dh_testdir
- CFLAGS="$(CFLAGS)" . $(GNUSTEP_SETUP); \
- ./configure
-
-build: build-stamp controlfiles
+ GNUSTEP_MAKEFILES=$(GNUSTEP_MAKEFILES) CFLAGS="$(CFLAGS)" . $(GNUSTEP_SETUP); \
+ ./configure --with-gnustep
+
+build: config.status build-stamp controlfiles
build-stamp: patch-stamp
dh_testdir
ln -s /usr/share/misc/config.guess sope-core/NGStreams/config.guess
ln -s /usr/share/misc/config.sub sope-core/NGStreams/config.sub
- CFLAGS="$(CFLAGS)" . $(GNUSTEP_SETUP); \
+ GNUSTEP_MAKEFILES=$(GNUSTEP_MAKEFILES) CFLAGS="$(CFLAGS)" . $(GNUSTEP_SETUP); \
$(MAKE) $(MAKE_FLAGS) all
- CFLAGS="$(CFLAGS)" . $(GNUSTEP_SETUP); \
+ GNUSTEP_MAKEFILES=$(GNUSTEP_MAKEFILES) CFLAGS="$(CFLAGS)" . $(GNUSTEP_SETUP); \
$(MAKE) $(MAKE_FLAGS) APXS="/usr/bin/apxs2" APXS_INCLUDE_DIRS="$(shell apxs2 -q EXTRA_INCLUDES)" \
-C sope-appserver/mod_ngobjweb all
-
+
touch build-stamp
clean: unpatch clean-controlfiles
mv sope-core/NGStreams/config.sub.upstream sope-core/NGStreams/config.sub; \
fi
- -. $(GNUSTEP_SETUP); $(MAKE) -C sope-appserver/mod_ngobjweb clean
- -. $(GNUSTEP_SETUP); $(MAKE) -C sope-appserver/mod_ngobjweb distclean
+ -GNUSTEP_MAKEFILES=$(GNUSTEP_MAKEFILES) . $(GNUSTEP_SETUP); $(MAKE) -C sope-appserver/mod_ngobjweb clean
+ -GNUSTEP_MAKEFILES=$(GNUSTEP_MAKEFILES) . $(GNUSTEP_SETUP); $(MAKE) -C sope-appserver/mod_ngobjweb distclean
- -. $(GNUSTEP_SETUP); $(MAKE) clean
- -. $(GNUSTEP_SETUP); $(MAKE) distclean
+ -GNUSTEP_MAKEFILES=$(GNUSTEP_MAKEFILES) . $(GNUSTEP_SETUP); $(MAKE) clean
+ -GNUSTEP_MAKEFILES=$(GNUSTEP_MAKEFILES) . $(GNUSTEP_SETUP); $(MAKE) distclean
dh_clean
dh_installdirs
# Add here commands to install the package into debian/tmp
- CFLAGS="$(CFLAGS)" . $(GNUSTEP_SETUP); \
+ GNUSTEP_MAKEFILES=$(GNUSTEP_MAKEFILES) CFLAGS="$(CFLAGS)" . $(GNUSTEP_SETUP); \
$(MAKE) $(MAKE_FLAGS) install \
- GNUSTEP_INSTALLATION_DIR=$(CURDIR)/debian/tmp/$$GNUSTEP_SYSTEM_ROOT\
- INSTALL_ROOT_DIR=$(CURDIR)/debian/tmp\
- FHS_INSTALL_ROOT=$(CURDIR)/debian/tmp/usr \
+ DESTDIR=$(CURDIR)/debian/tmp \
+ GNUSTEP_INSTALLATION_DOMAIN=SYSTEM \
+ FHS_INSTALL_ROOT=/usr \
FHS_LIB_DIR=$(CURDIR)/debian/tmp/usr/lib/ #WARN: <- trailing slash unbroke build/packages?!
- CFLAGS="$(CFLGAS)" . $(GNUSTEP_SETUP); \
+# GNUSTEP_INSTALLATION_DIR=$(CURDIR)/debian/tmp/$$GNUSTEP_SYSTEM_ROOT\
+
+ GNUSTEP_MAKEFILES=$(GNUSTEP_MAKEFILES) CFLAGS="$(CFLGAS)" . $(GNUSTEP_SETUP); \
$(MAKE) $(MAKE_FLAGS) -C sope-appserver/mod_ngobjweb install \
GNUSTEP_INSTALLATION_DIR=$(CURDIR)/debian/tmp/usr/lib/apache2/modules
dh_installchangelogs
dh_installdocs
dh_installexamples
- dh_install --sourcedir=debian/tmp
+ dh_install --sourcedir=debian/tmp --list-missing
# dh_installmenu
# dh_installdebconf
# dh_installlogrotate