Initial add.

This commit is contained in:
Ryan C. Gordon 2002-07-30 05:20:00 +00:00
parent 98f67c5b13
commit 35674ce8df
21 changed files with 370 additions and 0 deletions

5
debian/changelog vendored Normal file
View File

@ -0,0 +1,5 @@
libphysfs0 (0.1.7-1) unstable; urgency=low
* Initial Release.
-- Colin Bayer <vogon@icculus.org> Mon, 29 Jul 2002 07:47:31 -0700

22
debian/control vendored Normal file
View File

@ -0,0 +1,22 @@
Source: libphysfs0
Priority: optional
Maintainer: Colin Bayer <vogon@icculus.org>
Build-Depends: debhelper (>> 3.0.0), binutils (>= 2.12.90.0.1-4 ), fileutils (>= 4.1-10 ), gcc-2.95 (>= 1 ), libc6 (>= 2.2.5-10 ), libncurses5 (>= 5.2.20020112a-8 ), zlib1g (>= 1 ), libncurses5-dev (>= 5.2.20020112a-8 ), zlib1g-dev (>= 1 ), doxygen
Standards-Version: 3.5.2
Package: libphysfs0-dev
Section: devel
Architecture: any
Depends: libphysfs0 (= ${Source-Version})
Description: A filesystem abstraction for game programmers.
libphysfs0-dev is the set of header files needed to compile programs that
utilize the libphysfs0 library.
Package: libphysfs0
Section: libs
Architecture: any
Depends: ${shlibs:Depends}
Description: A filesystem abstraction for game programmers.
libphysfs0 is the PhysicsFS filesystem abstraction library, a library that
provides a simple C interface to aid game programmers in utilizing game
assets packaged in many different types of archive files.

13
debian/copyright vendored Normal file
View File

@ -0,0 +1,13 @@
This package was debianized by Colin Bayer <vogon@icculus.org> on
Mon, 29 Jul 2002 04:41:27 -0700.
It was downloaded from http://icculus.org/physfs/downloads/physfs-0.1.7.tar.gz
Upstream Author(s): Ryan Gordon <icculus@icculus.org>
This software is copyright (c) 2001-02 by Ryan Gordon, icculus.org.
You are free to distribute this software under the terms of the GNU Lesser
General Public License.
On Debian systems, the complete text of the GNU Lesser General Public License
can be found in the file `/usr/share/common-licenses/LGPL'.

2
debian/docs vendored Normal file
View File

@ -0,0 +1,2 @@
TODO
CREDITS

2
debian/files vendored Normal file
View File

@ -0,0 +1,2 @@
libphysfs0-dev_0.1.7-1_i386.deb devel optional
libphysfs0_0.1.7-1_i386.deb libs optional

2
debian/libphysfs0-dev.dirs vendored Normal file
View File

@ -0,0 +1,2 @@
usr/lib
usr/include

9
debian/libphysfs0-dev.doc-base vendored Normal file
View File

@ -0,0 +1,9 @@
Document: libphysfs0-api
Title: PhysicsFS API Documentation
Author: Ryan Gordon <icculus@icculus.org>
Abstract: This document outlines the C API for libphysfs0.
Section: unknown
Format: HTML
Index: /usr/share/doc/libphysfs0-dev/html/index.html
Files: /usr/share/doc/libphysfs0-dev/html/*.html

4
debian/libphysfs0-dev.files vendored Normal file
View File

@ -0,0 +1,4 @@
usr/include/*
usr/lib/lib*.a
usr/lib/lib*.so
usr/share/doc/libphysfs0-dev/*

View File

@ -0,0 +1,5 @@
# Automatically added by dh_installdocs
if [ "$1" = configure ] && which install-docs >/dev/null 2>&1; then
install-docs -i /usr/share/doc-base/libphysfs0-api
fi
# End automatically added section

6
debian/libphysfs0-dev.prerm.debhelper vendored Normal file
View File

@ -0,0 +1,6 @@
# Automatically added by dh_installdocs
if [ "$1" = remove ] || [ "$1" = upgrade ] && \
which install-docs >/dev/null 2>&1; then
install-docs -r libphysfs0-api
fi
# End automatically added section

1
debian/libphysfs0.dirs vendored Normal file
View File

@ -0,0 +1 @@
usr/lib

1
debian/libphysfs0.files vendored Normal file
View File

@ -0,0 +1 @@
usr/lib/lib*.so.*

5
debian/libphysfs0.postinst.debhelper vendored Normal file
View File

@ -0,0 +1,5 @@
# Automatically added by dh_makeshlibs
if [ "$1" = "configure" ]; then
ldconfig
fi
# End automatically added section

5
debian/libphysfs0.postrm.debhelper vendored Normal file
View File

@ -0,0 +1,5 @@
# Automatically added by dh_makeshlibs
if [ "$1" = "remove" ]; then
ldconfig
fi
# End automatically added section

1
debian/libphysfs0.substvars vendored Normal file
View File

@ -0,0 +1 @@
shlibs:Depends=libc6 (>= 2.2.4-4), zlib1g (>= 1:1.1.4)

47
debian/postinst vendored Normal file
View File

@ -0,0 +1,47 @@
#! /bin/sh
# postinst script for libphysfs0
#
# see: dh_installdeb(1)
set -e
# summary of how this script can be called:
# * <postinst> `configure' <most-recently-configured-version>
# * <old-postinst> `abort-upgrade' <new version>
# * <conflictor's-postinst> `abort-remove' `in-favour' <package>
# <new-version>
# * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
# <failed-install-package> <version> `removing'
# <conflicting-package> <version>
# for details, see http://www.debian.org/doc/debian-policy/ or
# the debian-policy package
#
# quoting from the policy:
# Any necessary prompting should almost always be confined to the
# post-installation script, and should be protected with a conditional
# so that unnecessary prompting doesn't happen if a package's
# installation fails and the `postinst' is called with `abort-upgrade',
# `abort-remove' or `abort-deconfigure'.
case "$1" in
configure)
;;
abort-upgrade|abort-remove|abort-deconfigure)
;;
*)
echo "postinst called with unknown argument \`$1'" >&2
exit 1
;;
esac
# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.
#DEBHELPER#
exit 0

38
debian/postrm vendored Normal file
View File

@ -0,0 +1,38 @@
#! /bin/sh
# postrm script for libphysfs0
#
# see: dh_installdeb(1)
set -e
# summary of how this script can be called:
# * <postrm> `remove'
# * <postrm> `purge'
# * <old-postrm> `upgrade' <new-version>
# * <new-postrm> `failed-upgrade' <old-version>
# * <new-postrm> `abort-install'
# * <new-postrm> `abort-install' <old-version>
# * <new-postrm> `abort-upgrade' <old-version>
# * <disappearer's-postrm> `disappear' <r>overwrit>r> <new-version>
# for details, see http://www.debian.org/doc/debian-policy/ or
# the debian-policy package
case "$1" in
purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
;;
*)
echo "postrm called with unknown argument \`$1'" >&2
exit 1
esac
# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.
#DEBHELPER#
exit 0

44
debian/preinst vendored Normal file
View File

@ -0,0 +1,44 @@
#! /bin/sh
# preinst script for libphysfs0
#
# see: dh_installdeb(1)
set -e
# summary of how this script can be called:
# * <new-preinst> `install'
# * <new-preinst> `install' <old-version>
# * <new-preinst> `upgrade' <old-version>
# * <old-preinst> `abort-upgrade' <new-version>
#
# for details, see http://www.debian.org/doc/debian-policy/ or
# the debian-policy package
case "$1" in
install|upgrade)
# if [ "$1" = "upgrade" ]
# then
# start-stop-daemon --stop --quiet --oknodo \
# --pidfile /var/run/libphysfs0.pid \
# --exec /usr/sbin/libphysfs0 2>/dev/null || true
# fi
;;
abort-upgrade)
;;
*)
echo "preinst called with unknown argument \`$1'" >&2
exit 1
;;
esac
# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.
#DEBHELPER#
exit 0

40
debian/prerm vendored Normal file
View File

@ -0,0 +1,40 @@
#! /bin/sh
# prerm script for libphysfs0
#
# see: dh_installdeb(1)
set -e
# summary of how this script can be called:
# * <prerm> `remove'
# * <old-prerm> `upgrade' <new-version>
# * <new-prerm> `failed-upgrade' <old-version>
# * <conflictor's-prerm> `remove' `in-favour' <package> <new-version>
# * <deconfigured's-prerm> `deconfigure' `in-favour'
# <package-being-installed> <version> `removing'
# <conflicting-package> <version>
# for details, see http://www.debian.org/doc/debian-policy/ or
# the debian-policy package
case "$1" in
remove|upgrade|deconfigure)
# install-info --quiet --remove /usr/info/libphysfs0.info.gz
;;
failed-upgrade)
;;
*)
echo "prerm called with unknown argument \`$1'" >&2
exit 1
;;
esac
# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.
#DEBHELPER#
exit 0

117
debian/rules vendored Executable file
View File

@ -0,0 +1,117 @@
#!/usr/bin/make -f
# Sample debian/rules that uses debhelper.
# GNU copyright 1997 to 1999 by Joey Hess.
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
# This is the debhelper compatibility version to use.
export DH_COMPAT=3
# 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 (,$(findstring debug,$(DEB_BUILD_OPTIONS)))
CFLAGS += -g
endif
ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
INSTALL_PROGRAM += -s
endif
# shared library versions, option 1
version=0.1.7
major=0
# 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
# Add here commands to configure the package.
CFLAGS="$(CFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info
build: build-stamp
build-stamp: config.status
dh_testdir
# Add here commands to compile the package.
$(MAKE)
doxygen
touch build-stamp
clean:
dh_testdir
dh_testroot
rm -f build-stamp
# Add here commands to clean up after the build process.
-$(MAKE) distclean
-test -r /usr/share/misc/config.sub && \
cp -f /usr/share/misc/config.sub config.sub
-test -r /usr/share/misc/config.guess && \
cp -f /usr/share/misc/config.guess config.guess
dh_clean
install: build
dh_testdir
dh_testroot
dh_clean -k
dh_installdirs
# Add here commands to install the package into debian/tmp
$(MAKE) install prefix=$(CURDIR)/debian/tmp/usr
install -d $(CURDIR)/debian/tmp/usr/share/doc/libphysfs0-dev/latex
install -d $(CURDIR)/debian/tmp/usr/share/doc/libphysfs0-dev/man/man3
install -d $(CURDIR)/debian/tmp/usr/share/doc/libphysfs0-dev/html
install -D docs/README $(CURDIR)/debian/tmp/usr/share/doc/libphysfs0-dev/README
install -D docs/latex/* $(CURDIR)/debian/tmp/usr/share/doc/libphysfs0-dev/latex
install -D docs/html/* $(CURDIR)/debian/tmp/usr/share/doc/libphysfs0-dev/html
install -D docs/man/man3/* $(CURDIR)/debian/tmp/usr/share/doc/libphysfs0-dev/man/man3
# Build architecture-independent files here.
binary-indep: build install
# We have nothing to do by default.
# Build architecture-dependent files here.
binary-arch: build install
dh_testdir
dh_testroot
dh_movefiles
# dh_installdebconf
dh_installdocs
dh_installexamples
dh_installmenu
# dh_installlogrotate
# dh_installemacsen
# dh_installpam
# dh_installmime
# dh_installinit
dh_installcron
dh_installman
dh_installinfo
# dh_undocumented
dh_installchangelogs CHANGELOG
dh_link
dh_strip
dh_compress
dh_fixperms
dh_makeshlibs
dh_installdeb
# dh_perl
dh_shlibdeps
dh_gencontrol
dh_md5sums
dh_builddeb
binary: binary-indep binary-arch
.PHONY: build clean binary-indep binary-arch binary install

1
debian/shlibs.local vendored Normal file
View File

@ -0,0 +1 @@
libPACKAGE# 0.1.7 libphysfs0 (>> 0.1.7-0), libphysfs0 (<< 0.1.7-99)