Browse files

* tslib.pc.in: Add pkg-config file for tslib.

* configure.ac, Makefile.am: Create tslib-$LT_RELEASE.pc, and install
it into the correct place.  Also change the AC_INIT 'PACKAGE' from
libts to tslib.  Bump the LT_RELEASE, since libts has changed a fair
bit now, in preparation for the 1.0.0 release.
* .cvsignore: Add *.pc to CVS ignore.
  • Loading branch information...
1 parent 769ce20 commit ffc4e5e9b1b0164e286a1f1ba122cf6221e7cb54 @kergoth committed Mar 1, 2005
Showing with 31 additions and 5 deletions.
  1. +1 −1 .cvsignore
  2. +9 −0 ChangeLog
  3. +4 −1 Makefile.am
  4. +7 −3 configure.ac
  5. +10 −0 tslib.pc.in
View
2 .cvsignore
@@ -18,4 +18,4 @@ mkinstalldirs
stamp-h
stamp-h.in
stamp-h1
-
+*.pc
View
9 ChangeLog
@@ -1,3 +1,12 @@
+2005-02-28 Chris Larson <kergoth@handhelds.org>
+
+ * tslib.pc.in: Add pkg-config file for tslib.
+ * configure.ac, Makefile.am: Create tslib-$LT_RELEASE.pc, and install
+ it into the correct place. Also change the AC_INIT 'PACKAGE' from
+ libts to tslib. Bump the LT_RELEASE, since libts has changed a fair
+ bit now, in preparation for the 1.0.0 release.
+ * .cvsignore: Add *.pc to CVS ignore.
+
2005-02-25 Chris Larson <kergoth@handhelds.org>
* AUTHORS: Add self to AUTHORS file.
View
5 Makefile.am
@@ -6,11 +6,14 @@
# This file is placed under the LGPL. Please see the file
# COPYING for more details.
#
-# $Id: Makefile.am,v 1.2 2005/02/26 01:47:22 kergoth Exp $
+# $Id: Makefile.am,v 1.3 2005/02/28 18:56:09 kergoth Exp $
#
SUBDIRS = etc src plugins tests
EXTRA_DIST = autogen.sh
ACLOCAL_AMFLAGS = -I m4/internal -I m4/external
AUTOMAKE_OPTIONS = 1.6
+
+pkgconfigdir = $(libdir)/pkgconfig
+pkgconfig_DATA = $(PACKAGE)-$(LT_RELEASE).pc
View
10 configure.ac
@@ -2,12 +2,15 @@
# Process this file with autoconf to produce a configure script.
AC_PREREQ(2.57)
-AC_INIT(libts, 0.0.2, kergoth@handhelds.org)
+AC_INIT(tslib, 0.0.2, kergoth@handhelds.org)
# AC_CONFIG_AUX_DIR(config)
AM_INIT_AUTOMAKE(dist-bzip2)
AC_CONFIG_SRCDIR([src/ts_close.c])
AM_CONFIG_HEADER(config.h)
+PACKAGE_DESCRIPTION="Touchscreen Access Library"
+AC_SUBST(PACKAGE_DESCRIPTION)
+
# Set our default flags variables
TS_DEFAULT_FLAGS
@@ -192,7 +195,7 @@ AC_SUBST(TS_CONF)
# Library versioning
LT_RELEASE=0.0
LT_CURRENT=1
-LT_REVISION=0
+LT_REVISION=1
LT_AGE=1
AC_SUBST(LT_RELEASE)
AC_SUBST(LT_CURRENT)
@@ -204,5 +207,6 @@ AC_CONFIG_FILES([Makefile
etc/Makefile
plugins/Makefile
src/Makefile
- tests/Makefile])
+ tests/Makefile
+ tslib-$LT_RELEASE.pc:tslib.pc.in])
AC_OUTPUT
View
10 tslib.pc.in
@@ -0,0 +1,10 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: @PACKAGE@
+Description: @PACKAGE_DESCRIPTION@
+Version: @PACKAGE_VERSION@
+Libs: -L${libdir} -lts
+Cflags: -I${includedir}

0 comments on commit ffc4e5e

Please sign in to comment.