--- squish-1.10.orig/Makefile +++ squish-1.10/Makefile @@ -22,7 +22,7 @@ ranlib $@ %.o : %.cpp - $(CXX) $(CPPFLAGS) -I. $(CXXFLAGS) -o$@ -c $< + $(CXX) $(CPPFLAGS) -I. $(CXXFLAGS) -fPIC -o$@ -c $< clean : $(RM) $(OBJ) $(LIB) --- squish-1.10.orig/debian/libsquish-dev.dirs +++ squish-1.10/debian/libsquish-dev.dirs @@ -0,0 +1,2 @@ +usr/lib +usr/include --- squish-1.10.orig/debian/libsquish-dev.install +++ squish-1.10/debian/libsquish-dev.install @@ -0,0 +1,3 @@ +usr/include/* +usr/lib/lib*.a +usr/lib/*.la --- squish-1.10.orig/debian/docs +++ squish-1.10/debian/docs @@ -0,0 +1,3 @@ +ChangeLog +README +texture_compression_s3tc.txt --- squish-1.10.orig/debian/dirs +++ squish-1.10/debian/dirs @@ -0,0 +1,2 @@ +usr/bin +usr/sbin --- squish-1.10.orig/debian/compat +++ squish-1.10/debian/compat @@ -0,0 +1 @@ +5 --- squish-1.10.orig/debian/copyright +++ squish-1.10/debian/copyright @@ -0,0 +1,34 @@ +This package was debianized by Reinier de Blois on +Fri, 25 Sep 2009 19:07:35 +0200. + +It was downloaded from http://code.google.com/p/libsquish/ + +Upstream Author(s): + + Simon Brown + +Copyright: + + Copyright (c) 2006 Simon Brown + +License: + + Permission is hereby granted, free of charge, to any person obtaining + a copy of this software and associated documentation files (the + "Software"), to deal in the Software without restriction, including + without limitation the rights to use, copy, modify, merge, publish, + distribute, sublicense, and/or sell copies of the Software, and to + permit persons to whom the Software is furnished to do so, subject to + the following conditions: + + The above copyright notice and this permission notice shall be included + in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS + OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. + IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY + CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, + TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE + SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + --- squish-1.10.orig/debian/rules +++ squish-1.10/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 + + + + + + +# 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)}'` + +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 + + $(MAKE) + + touch $@ + +clean: + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp + + $(MAKE) clean + + dh_clean + +install: build + dh_testdir + dh_testroot + + install -c -D -m 644 squish.h $(CURDIR)/debian/libsquish-dev/usr/include/squish.h + install -c -D -m 644 libsquish.a $(CURDIR)/debian/libsquish-dev/usr/lib/libsquish.a + + +# 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 configure --- squish-1.10.orig/debian/control +++ squish-1.10/debian/control @@ -0,0 +1,18 @@ +Source: squish +Priority: extra +Maintainer: Reinier de Blois +Build-Depends: debhelper (>= 5) +Standards-Version: 3.8.0 +Section: libs +Homepage: http://code.google.com/p/libsquish/ + +Package: libsquish-dev +Section: libdevel +Architecture: any +Description: The squish library (abbreviated to libsquish) is an open source DXT compression library written in C++. + It has the following features: + * Supports the DXT1, DXT3 and DXT5 formats. + * Optimised for both SSE and Altivec SIMD instruction sets. + * Builds on multiple platforms (x86 and PPC tested). + * Very simple interface. + --- squish-1.10.orig/debian/changelog +++ squish-1.10/debian/changelog @@ -0,0 +1,6 @@ +squish (1.10-0~hardy1) hardy; urgency=low + + * Hardy port + + -- Reinier de Blois Fri, 06 Nov 2009 21:12:30 +0200 +