Libre LHA/LZH decompressor OBS-URL: https://build.opensuse.org/request/show/120801 OBS-URL: https://build.opensuse.org/package/show/Archiving/lhasa?expand=0&rev=1
48 lines
1.3 KiB
Diff
48 lines
1.3 KiB
Diff
---
|
|
Makefile.am | 3 ++-
|
|
configure.ac | 1 +
|
|
liblhasa.pc.in | 10 ++++++++++
|
|
3 files changed, 13 insertions(+), 1 deletion(-)
|
|
|
|
Index: lhasa-0.0.5/Makefile.am
|
|
===================================================================
|
|
--- lhasa-0.0.5.orig/Makefile.am
|
|
+++ lhasa-0.0.5/Makefile.am
|
|
@@ -4,7 +4,8 @@ AUX_DIST_GEN = $(ac_aux_dir)
|
|
EXTRA_DIST = $(AUX_DIST_GEN) gencov rpm.spec
|
|
MAINTAINERCLEANFILES = $(AUX_DIST_GEN)
|
|
|
|
-$(pkgconfig_DATA) : config.status
|
|
+pkgconfigdir = ${libdir}/pkgconfig
|
|
+pkgconfig_DATA = liblhasa.pc
|
|
|
|
SUBDIRS=doc lib src test
|
|
|
|
Index: lhasa-0.0.5/configure.ac
|
|
===================================================================
|
|
--- lhasa-0.0.5.orig/configure.ac
|
|
+++ lhasa-0.0.5/configure.ac
|
|
@@ -74,6 +74,7 @@ AC_SUBST(ac_aux_dir)
|
|
AM_CONFIG_HEADER(config.h:config.hin)
|
|
|
|
AC_OUTPUT([
|
|
+ liblhasa.pc
|
|
rpm.spec
|
|
Makefile
|
|
doc/Makefile
|
|
Index: lhasa-0.0.5/liblhasa.pc.in
|
|
===================================================================
|
|
--- /dev/null
|
|
+++ lhasa-0.0.5/liblhasa.pc.in
|
|
@@ -0,0 +1,10 @@
|
|
+prefix=@prefix@
|
|
+exec_prefix=@exec_prefix@
|
|
+libdir=@libdir@
|
|
+includedir=@includedir@
|
|
+
|
|
+Name: liblhasa
|
|
+Description: LHA (de)compression library
|
|
+Version: @PACKAGE_VERSION@
|
|
+Libs: -L${libdir} -llhasa
|
|
+Cflags: -I${includedir}/liblhasa-1.0
|