Has anybody here packaged a witty webapp as a debian package? I want to do that for my witty app, and have read some documentation on the creation of deb packages. After all I'm getting the impression, that a witty web app might not be an ideal example to start with.
What is of interest to me is: - can I use the packaged witty deb's also as dependencies on a voyage-linux (based on debian etch) installation, or do I have to link statically? (Pau?) - what directories do you install the files to? - how do I configure the apache integration (a2ensite and so on) Does anybody have some examples to share? Below is what I have so far. Thanks in advance Richard ***************** debian/control: ******************* Source: flugbuch2 Package: flugbuch2 Version: 2.0.5 Section: web Priority: optional Architecture: i386 Essential: no standards-Version: 3.8.0 Homepage: http://sourceforge.net/projects/flugbuch2 Depends: apache2, libapache2-mod-fastcgi, libfcgi0ldbl Provides: flugbuch2 Recommends: mozilla | netscape | firefox Installed-Size: 1024 Maintainer: Richard Ulrich <[email protected]> Description: Flight log book for paraglider pilots ***************** debian/rules: ************************* #!/usr/bin/make -f # -*- makefile -*- # Sample debian/rules that uses debhelper. # This file was originally written by Joey Hess and Craig Small. # As a special exception, when this file is copied by dh-make into a # dh-make output file, you may use that output file without restriction. # This special exception was added by Craig Small in version 0.37 of dh-make. # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 configure: configure-stamp configure-stamp: dh_testdir # Add here commands to configure the package. touch configure-stamp build: build-stamp build-stamp: configure-stamp dh_testdir # Add here commands to compile the package. # $(MAKE) codeblocks --build $(CURDIR)/../proj/CodeBlocks/Flugbuch2_wt/Flugbuch2_wt.cbp --target="Release_fcgi_static" #docbook-to-man debian/flugbuch2.sgml > flugbuch2.1 touch $@ clean: dh_testdir dh_testroot rm -f build-stamp configure-stamp # Add here commands to clean up after the build process. # $(MAKE) clean codeblocks --clean $(CURDIR)/../proj/CodeBlocks/Flugbuch2_wt/Flugbuch2_wt.cbp --target="Release_fcgi_static" dh_clean install: build dh_testdir dh_testroot dh_prep dh_installdirs # Add here commands to install the package into debian/flugbuch2. # $(MAKE) DESTDIR=$(CURDIR)/debian/flugbuch2 install cp $(CURDIR)/../res $(CURDIR)/debian/flugbuch2/usr/share/flugbuch2/www -r # Build architecture-independent files here. binary-indep: install # We have nothing to do by default. # Build architecture-dependent files here. binary-arch: install dh_testdir dh_testroot dh_installchangelogs dh_installdocs dh_installexamples # dh_install # dh_installmenu # dh_installdebconf # dh_installlogrotate # dh_installemacsen # dh_installpam # dh_installmime # dh_python # dh_installinit # dh_installcron # dh_installinfo dh_installman dh_link dh_strip dh_compress dh_fixperms # dh_perl # dh_makeshlibs dh_installdeb dh_shlibdeps # dh_gencontrol dh_md5sums dh_builddeb binary: binary-indep binary-arch .PHONY: build clean binary-indep binary-arch binary install configure ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ witty-interest mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/witty-interest
