Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge branch 'master' of github.com:sahlberg/libnfs

  • Loading branch information...
commit 357f65c0e10b90e5bea7435d9b3925676e937c86 2 parents 5a1f145 + 95b7217
@sahlberg authored
View
2  .gitignore
@@ -28,3 +28,5 @@ libtool
ltmain.sh
missing
stamp-h1
+
+!libnfs.pc.in
View
5 Makefile.am
@@ -1,2 +1,7 @@
SUBDIRS = mount nfs portmap rquota lib include . $(MAYBE_EXAMPLES)
+pkgconfigdir = $(libdir)/pkgconfig
+pkgconfig_DATA = libnfs.pc
+
+EXTRA_DIST = README COPYING libnfs.pc.in
+
View
2  configure.ac
@@ -88,4 +88,4 @@ AC_CONFIG_FILES([Makefile]
[examples/Makefile]
)
-AC_OUTPUT
+AC_OUTPUT([libnfs.pc])
View
14 libnfs.pc.in
@@ -0,0 +1,14 @@
+# libnfs pkg-config file
+
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: libnfs
+Description: libnfs is a client library for accessing NFS shares over a network.
+Version: @VERSION@
+Requires:
+Conflicts:
+Libs: -L${libdir} -lnfs
+Cflags: -I${includedir}
View
1  packaging/RPM/libnfs.spec.in
@@ -91,6 +91,7 @@ development libraries for LibNFS
%{_includedir}/nfsc/libnfs-raw-rquota.h
%{_libdir}/libnfs.a
%{_libdir}/libnfs.la
+%{_libdir}/pkgconfig/libnfs.pc
%changelog
* Sun Jul 31 2011 : Version 1.0
Please sign in to comment.
Something went wrong with that request. Please try again.