Bläddra i källkod

Added Debian packaging files.

git-svn-id: file:///var/svn/tigccpp/branches/ktigcc-1-branch@1104 9552661e-59e3-4036-b4f2-dbe53926924f
roms 17 år sedan
förälder
incheckning
e5d83ebe33

+ 5 - 0
ktigcc/debian/changelog

@@ -0,0 +1,5 @@
+ktigcc (20070322-1) unstable; urgency=low
+
+  * Initial release.
+
+ -- Romain LIEVIN <roms@tilp.info>  Tue, 10 May 2007 14:15:34 +0100

+ 1 - 0
ktigcc/debian/compat

@@ -0,0 +1 @@
+5

+ 17 - 0
ktigcc/debian/control

@@ -0,0 +1,17 @@
+Source: ktigcc
+Section: devel
+Priority: optional
+Maintainer: Romain LIEVIN <roms@tilp.info>
+Build-Depends: debhelper (>= 5), libticables2-1-dev (>= 1.0.5-1), libticalcs2-2-dev (>= 1.0.6-1), libtifiles2-3-dev (>= 1.0.5-1), libticonv2 (>= 1.0.2-1), libgtk2.0-dev, libqt3-mt-dev (>= 3.2.0), kdelibs (>= 3.5.2), autoconf, automake1.9
+Standards-Version: 3.7.2
+
+Package: ktigcc
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, kdelibs (>= 3.5.2), kdebase (>= 3.5.2), exuberant-ctags
+Description: an IDE for TIGCC using KDE
+ KTIGCC is an IDE for the TIGCC cross-toolchain on *nix/X11 platforms, using 
+ the KDE3 libraries.
+ .
+ Note: this package depends on TIGCC which is not provided. You will have to
+ download and install it from <http://tigcc.ticalc.org>
+ .

+ 14 - 0
ktigcc/debian/copyright

@@ -0,0 +1,14 @@
+This package was debianized by Julien BLACHE <jblache@debian.org> on
+Mon, 14 Feb 2000 14:55:57 +0100.
+
+It was downloaded from: http://tilp.info/
+
+Upstream Authors: Romain LIEVIN <roms@tilp.info>
+                  Julien BLACHE <jb@tilp.info>
+
+This software is copyright (c) 1999-2002 Romain LIÉVIN, Julien BLACHE.
+
+You are free to distribute this software under the terms of the GNU General
+Public License.
+On Debian systems, the complete text of the GNU General Public License can be
+found in /usr/share/common-licenses/GPL file.

+ 1 - 0
ktigcc/debian/ktigcc.docs

@@ -0,0 +1 @@
+NEWS

+ 1 - 0
ktigcc/debian/ktigcc.manpages

@@ -0,0 +1 @@
+debian/man/ktigcc.1

+ 3 - 0
ktigcc/debian/ktigcc.menu

@@ -0,0 +1,3 @@
+?package(ktigcc):needs="X11" section="Apps/Math"\
+  title="KTIGCC" command="/usr/bin/ktigcc"
+

+ 95 - 0
ktigcc/debian/rules

@@ -0,0 +1,95 @@
+#!/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
+
+# These are used for cross-compiling and for saving the configure script
+# from having to guess our platform (since we know it already)
+DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+
+
+CFLAGS = -Wall -g
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+	CFLAGS += -O0
+else
+	CFLAGS += -O2
+endif
+
+ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS)))
+	CFLAGS += -g
+endif
+ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
+	INSTALL_PROGRAM += -s
+endif
+
+config.status: configure
+	dh_testdir
+	# Add here commands to configure the package.
+	#./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs"
+	export TIGCC=/usr; rm Makefile; ./configure
+
+build: build-stamp
+build-stamp:  config.status
+	dh_testdir
+
+	# Add here commands to compile the package.
+	$(MAKE)
+
+	touch $@
+
+clean:
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp 
+
+	# Add here commands to clean up after the build process.
+	-$(MAKE) distclean
+
+	dh_clean 
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k 
+	dh_installdirs
+
+	# Add here commands to install the package into debian/ktigcc
+	$(MAKE) INSTALL_ROOT=$(CURDIR)/debian/ktigcc install
+	rm -Rf $(CURDIR)/debian/ktigcc/usr/doc
+
+# Build architecture-independent files here.
+binary-indep: build install
+
+# Build architecture-dependent files here.
+binary-arch: build install
+	dh_testdir
+	dh_testroot
+	dh_installchangelogs ChangeLog
+	dh_installdocs
+	dh_installexamples
+	dh_install
+	dh_installman
+	dh_installmenu
+#	dh_installpam
+#	dh_installmime
+	dh_link
+	dh_strip
+	dh_compress
+	dh_fixperms
+	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