new target make deb to create debian package, refs #1
parent
522fa3b4f1
commit
1f00d0e087
18 changed files with 264 additions and 14 deletions
@ -0,0 +1,5 @@ |
||||
@PACKAGE@ (@VERSION@-1) unstable; urgency=low |
||||
|
||||
* See https://dev.marc.waeckerlin.org/projects/@PACKAGE@ for changes |
||||
|
||||
-- Marc Waeckerlin <marc@waeckerlin.org> Wed, 07 Apr 2010 10:23:02 +0200 |
@ -0,0 +1 @@ |
||||
7 |
@ -0,0 +1,27 @@ |
||||
Source: libpcscxx |
||||
Priority: extra |
||||
Maintainer: Marc Wäckerlin <marc@waeckerlin.org> |
||||
Build-Depends: debhelper (>= 7), autotools-dev |
||||
Standards-Version: 3.8.1 |
||||
Section: libs |
||||
Homepage: https://dev.marc.waeckerlin.org/projects/libpcscxx |
||||
|
||||
Package: libpcscxx-dev |
||||
Section: libdevel |
||||
Architecture: any |
||||
Depends: libpcscxx (= ${binary:Version}) |
||||
Description: C++ Wrapper around PCSClite, Cryptoki, OpenSSL |
||||
C++ wrappers around the ugly C-Interfaces of pcsc-lite, cryptoki and |
||||
open-ssl. |
||||
. |
||||
For more details, see: https://dev.marc.waeckerlin.org/projects/libpcscxx |
||||
|
||||
Package: libpcscxx |
||||
Section: libs |
||||
Architecture: any |
||||
Depends: ${shlibs:Depends}, ${misc:Depends} |
||||
Description: C++ Wrapper around PCSClite, Cryptoki, OpenSSL |
||||
C++ wrappers around the ugly C-Interfaces of pcsc-lite, cryptoki and |
||||
open-ssl. |
||||
. |
||||
For more details, see: https://dev.marc.waeckerlin.org/projects/libpcscxx |
@ -0,0 +1,26 @@ |
||||
This package was debianized by Marc Wäckerlin <marc@waeckerlin.org> on |
||||
Wed, 07 Apr 2010 10:23:02 +0200. |
||||
|
||||
It was downloaded from https://dev.marc.waeckerlin.org/projects/proxyface |
||||
|
||||
Upstream Author(s): |
||||
|
||||
Marc Wäckerlin <marc@waeckerlin.org> |
||||
|
||||
Copyright: |
||||
|
||||
Marc Wäckerlin <marc@waeckerlin.org> |
||||
|
||||
License: |
||||
|
||||
LGPL version 3 |
||||
|
||||
The Debian packaging is: |
||||
|
||||
Copyright (C) 2010 Marc Wäckerlin <marc@waeckerlin.org> |
||||
|
||||
and is licensed under the GPL version 3, |
||||
see `/usr/share/common-licenses/GPL-3'. |
||||
|
||||
# Please also look if there are files or directories which have a |
||||
# different copyright/license attached and list them here. |
@ -0,0 +1,2 @@ |
||||
NEWS |
||||
README |
@ -0,0 +1,2 @@ |
||||
usr/lib |
||||
usr/include |
@ -0,0 +1,6 @@ |
||||
usr/include/* |
||||
usr/lib/lib*.a |
||||
usr/lib/lib*.so |
||||
usr/lib/pkgconfig/* |
||||
usr/lib/*.la |
||||
usr/share/pkgconfig/* |
@ -0,0 +1 @@ |
||||
usr/lib |
@ -0,0 +1,20 @@ |
||||
Document: proxyface |
||||
Title: Debian proxyface Manual |
||||
Author: <insert document author here> |
||||
Abstract: This manual describes what proxyface is |
||||
and how it can be used to |
||||
manage online manuals on Debian systems. |
||||
Section: unknown |
||||
|
||||
Format: debiandoc-sgml |
||||
Files: /usr/share/doc/proxyface/proxyface.sgml.gz |
||||
|
||||
Format: postscript |
||||
Files: /usr/share/doc/proxyface/proxyface.ps.gz |
||||
|
||||
Format: text |
||||
Files: /usr/share/doc/proxyface/proxyface.text.gz |
||||
|
||||
Format: HTML |
||||
Index: /usr/share/doc/proxyface/html/index.html |
||||
Files: /usr/share/doc/proxyface/html/*.html |
@ -0,0 +1 @@ |
||||
usr/lib/lib*.so.* |
@ -0,0 +1,105 @@ |
||||
#!/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) |
||||
ifneq ($(DEB_HOST_GNU_TYPE),$(DEB_BUILD_GNU_TYPE)) |
||||
CROSS= --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE) |
||||
else |
||||
CROSS= --build $(DEB_BUILD_GNU_TYPE) |
||||
endif |
||||
|
||||
|
||||
|
||||
|
||||
# shared library versions, option 1 |
||||
version=2.0.5 |
||||
major=2 |
||||
# option 2, assuming the library is created as src/.libs/libfoo.so.2.0.5 or so |
||||
#version=`ls src/.libs/lib*.so.* | \ |
||||
# awk '{if (match($$0,/[0-9]+\.[0-9]+\.[0-9]+$$/)) print substr($$0,RSTART)}'` |
||||
#major=`ls src/.libs/lib*.so.* | \ |
||||
# awk '{if (match($$0,/\.so\.[0-9]+$$/)) print substr($$0,RSTART+4)}'` |
||||
|
||||
config.status: configure |
||||
dh_testdir |
||||
ifneq "$(wildcard /usr/share/misc/config.sub)" "" |
||||
cp -f /usr/share/misc/config.sub config.sub |
||||
endif |
||||
ifneq "$(wildcard /usr/share/misc/config.guess)" "" |
||||
cp -f /usr/share/misc/config.guess config.guess |
||||
endif |
||||
./configure $(CROSS) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info CFLAGS="$(CFLAGS)" |
||||
# does not work: LDFLAGS="-Wl,-z,defs" |
||||
|
||||
|
||||
build: build-stamp |
||||
build-stamp: config.status |
||||
dh_testdir |
||||
$(MAKE) |
||||
touch $@ |
||||
|
||||
clean: |
||||
dh_testdir |
||||
dh_testroot |
||||
rm -f build-stamp |
||||
[ ! -f [Mm]akefile ] || $(MAKE) distclean |
||||
rm -f config.sub config.guess |
||||
dh_clean |
||||
|
||||
install: build |
||||
dh_testdir |
||||
dh_testroot |
||||
dh_prep |
||||
dh_installdirs |
||||
$(MAKE) prefix=$(CURDIR)/debian/tmp/usr install |
||||
|
||||
|
||||
# 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 ChangeLog |
||||
dh_installdocs |
||||
dh_installexamples |
||||
dh_install |
||||
# dh_installmenu |
||||
# dh_installdebconf |
||||
# dh_installlogrotate |
||||
# dh_installemacsen |
||||
# dh_installpam |
||||
# dh_installmime |
||||
# dh_installinit |
||||
# dh_installcron |
||||
# dh_installinfo |
||||
# dh_installman |
||||
dh_link |
||||
dh_strip |
||||
dh_compress |
||||
dh_fixperms |
||||
# dh_perl |
||||
# dh_python |
||||
# 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 |
@ -0,0 +1 @@ |
||||
libproxyface 1.0.34 proxyface (>> 1.0.34-0), proxyface (<< 1.0.34-99) |
@ -0,0 +1,23 @@ |
||||
# Example watch control file for uscan |
||||
# Rename this file to "watch" and then you can run the "uscan" command |
||||
# to check for upstream updates and more. |
||||
# See uscan(1) for format |
||||
|
||||
# Compulsory line, this is a version 3 file |
||||
version=3 |
||||
|
||||
# Uncomment to examine a Webpage |
||||
# <Webpage URL> <string match> |
||||
#http://www.example.com/downloads.php proxyface-(.*)\.tar\.gz |
||||
|
||||
# Uncomment to examine a Webserver directory |
||||
#http://www.example.com/pub/proxyface-(.*)\.tar\.gz |
||||
|
||||
# Uncommment to examine a FTP server |
||||
#ftp://ftp.example.com/pub/proxyface-(.*)\.tar\.gz debian uupdate |
||||
|
||||
# Uncomment to find new files on sourceforge, for devscripts >= 2.9 |
||||
# http://sf.net/proxyface/proxyface-(.*)\.tar\.gz |
||||
|
||||
# Uncomment to find new files on GooglePages |
||||
# http://example.googlepages.com/foo.html proxyface-(.*)\.tar\.gz |
@ -0,0 +1,11 @@ |
||||
prefix=@PREFIX@ |
||||
exec_prefix=${prefix} |
||||
libdir=${exec_prefix}/lib |
||||
includedir=${prefix}/include |
||||
|
||||
Name: @PACKAGENAME@ |
||||
Description: C++ wrappers around pcsc-lite, cryptoki, openssh |
||||
Version: @VERSION@ |
||||
Libs: -L${libdir} -lpcscxx |
||||
Libs.private: |
||||
Cflags: -I${includedir} |
Loading…
Reference in new issue