From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1QoyrU-0000Q1-4N for garchives@archives.gentoo.org; Thu, 04 Aug 2011 14:25:24 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1031121C21C; Thu, 4 Aug 2011 14:24:46 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id D116721C21E for ; Thu, 4 Aug 2011 14:24:46 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 4A4F01B4032 for ; Thu, 4 Aug 2011 14:24:46 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id AC57280043 for ; Thu, 4 Aug 2011 14:24:45 +0000 (UTC) From: "Petteri Räty" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Petteri Räty" Message-ID: <3eec2301d03a7055a2663ac0071d9e7afb4fd395.betelgeuse@gentoo> Subject: [gentoo-commits] proj/libbash:master commit in: / X-VCS-Repository: proj/libbash X-VCS-Files: .gitignore Makefile.am configure.ac libbash.pc.in X-VCS-Directories: / X-VCS-Committer: betelgeuse X-VCS-Committer-Name: Petteri Räty X-VCS-Revision: 3eec2301d03a7055a2663ac0071d9e7afb4fd395 Date: Thu, 4 Aug 2011 14:24:45 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: d41c57768ec809152e9936e4947c921a commit: 3eec2301d03a7055a2663ac0071d9e7afb4fd395 Author: Mu Qiao gentoo org> AuthorDate: Wed Aug 3 08:35:09 2011 +0000 Commit: Petteri R=C3=A4ty gentoo org> CommitDate: Thu Aug 4 14:15:13 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/libbash.git;a= =3Dcommit;h=3D3eec2301 Build: add libbash.pc.in --- .gitignore | 1 + Makefile.am | 5 ++++- configure.ac | 2 +- libbash.pc.in | 10 ++++++++++ 4 files changed, 16 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 0aef229..311384d 100644 --- a/.gitignore +++ b/.gitignore @@ -9,6 +9,7 @@ *.class *.java *.tokens +*.pc libbash-* .deps .libs diff --git a/Makefile.am b/Makefile.am index cf09ee3..1f48eca 100644 --- a/Makefile.am +++ b/Makefile.am @@ -187,7 +187,7 @@ CLEANFILES =3D $(GENERATED_PARSER_CPP) \ massif.out \ callgrind.out =20 -libbash_includedir =3D $(includedir)/libbash-0.1/libbash +libbash_includedir =3D $(includedir)/libbash-@PACKAGE_VERSION@/libbash libbash_include_HEADERS =3D include/libbash.h \ include/common.h \ include/divide_by_zero_error.h \ @@ -322,6 +322,9 @@ EXTRA_DIST =3D bashast/bashast.g \ $(BASH_LOG_COMPILER) \ $(EBUILD_LOG_COMPILER) =20 +pkgconfigdir =3D $(libdir)/pkgconfig +pkgconfig_DATA =3D libbash.pc + coding_standard.pdf: coding_standard/coding_standard.tex $(AM_V_GEN)@PDFLATEX@ coding_standard/coding_standard.tex 2&>1 > /dev/n= ull =20 diff --git a/configure.ac b/configure.ac index 3563013..c5bbbb1 100644 --- a/configure.ac +++ b/configure.ac @@ -60,7 +60,7 @@ if test "$PDFLATEX" =3D "no"; then fi =20 AC_CHECK_LIB([antlr3c],[antlr3AsciiFileStreamNew],[],[AC_MSG_ERROR(libas= ntlr3c not found. Have you installed the C antlr runtime?)]) -AC_CONFIG_FILES([Makefile]) +AC_CONFIG_FILES([Makefile libbash.pc]) DX_HTML_FEATURE(ON) DX_MAN_FEATURE(OFF) DX_CHM_FEATURE(OFF) diff --git a/libbash.pc.in b/libbash.pc.in new file mode 100644 index 0000000..c312986 --- /dev/null +++ b/libbash.pc.in @@ -0,0 +1,10 @@ +prefix=3D@prefix@ +exec_prefix=3D@exec_prefix@ +libdir=3D@libdir@ +includedir=3D@includedir@ + +Name: libbash +Description: A C++ library for bash +Requires: +Version: @PACKAGE_VERSION@ +Cflags: -I${includedir}/libbash-@PACKAGE_VERSION@