Fix the debian build process up

This commit is contained in:
Bradlee Speice 2012-08-17 17:19:52 -04:00
parent 14a4a859f1
commit 02ae3354d0
5 changed files with 15 additions and 4 deletions

View File

@ -1,3 +1,13 @@
libcvautomation (2.0-1) precise; urgency=low
* Release version 2.0-1 of libcvautomation
* Now includes Python support (2.x)!
* Rename functions in Bash wrapper
* Add some minor missing functions in main library
* Bugfixes
-- Bradlee Speice <bspeice@uncc.edu> Fri, 17 Aug 2012 16:45:00 -0500
libcvautomation (1.5-1) precise; urgency=low libcvautomation (1.5-1) precise; urgency=low
* Release version 1.5-1 of libcvautomation * Release version 1.5-1 of libcvautomation
@ -5,7 +15,7 @@ libcvautomation (1.5-1) precise; urgency=low
* Add a function for drag-and-drop * Add a function for drag-and-drop
* Documentation update * Documentation update
-- Bradlee Speice <bspeice@uncc.edu> Mon, 13 Aug 2012 09:05:00 -0500 -- Bradlee Speice <bspeice@uncc.edu> Mon, 13 Aug 2012 09:05:00 -0500
libcvautomation (1.4-1) precise; urgency=low libcvautomation (1.4-1) precise; urgency=low

2
debian/control vendored
View File

@ -37,7 +37,7 @@ Description: Example programs to demonstrate libcvautomation functionality
Package: libcvautomation-python Package: libcvautomation-python
Depends: ${shlibs:Depends}, ${misc:Depends}, python2.7 Depends: ${shlibs:Depends}, ${misc:Depends}, python2.7
Architecture: all Architecture: any
Description: Python bindings for libcvautomation Description: Python bindings for libcvautomation
Contains the python libcvautomation module to allow python code to interface Contains the python libcvautomation module to allow python code to interface
with libcvautomation. with libcvautomation.

View File

@ -1 +1 @@
/usr/lib/python*/site-packages/* /usr/lib/python*/*

1
debian/rules vendored
View File

@ -23,4 +23,5 @@ override_dh_install:
find debian/tmp/usr/lib -name "*.la" -exec \ find debian/tmp/usr/lib -name "*.la" -exec \
sed -i -e "s,^dependency_libs=.*,dependency_libs=''," {} \; sed -i -e "s,^dependency_libs=.*,dependency_libs=''," {} \;
find debian/tmp/usr/lib -name "*.pyc" -exec rm {} \; find debian/tmp/usr/lib -name "*.pyc" -exec rm {} \;
find debian/tmp/usr/lib -name "*.pyo" -exec rm {} \;
dh_install dh_install

View File

@ -1,6 +1,6 @@
pyexec_LTLIBRARIES = _libcvautomation.la pyexec_LTLIBRARIES = _libcvautomation.la
_libcvautomation_la_SOURCES = libcvautomation-swig.c _libcvautomation_la_SOURCES = libcvautomation-swig.c
_libcvautomation_la_LDFLAGS = -avoid-version -module $(PYTHON_LDFLAGS) _libcvautomation_la_LDFLAGS = -avoid-version -module $(PYTHON_LDFLAGS) -L$(top_srcdir)/libcvautomation/.libs
_libcvautomation_la_LIBADD = -lcvautomation _libcvautomation_la_LIBADD = -lcvautomation
_libcvautomation_la_CFLAGS = $(PYTHON_CPPFLAGS) -I$(top_srcdir)/include _libcvautomation_la_CFLAGS = $(PYTHON_CPPFLAGS) -I$(top_srcdir)/include