diff --git a/files/slp.pc b/files/slp.pc new file mode 100644 index 0000000..2bd4058 --- /dev/null +++ b/files/slp.pc @@ -0,0 +1,11 @@ +prefix=/usr +exec_prefix=${prefix} +libdir=/usr/lib64 +includedir=${prefix}/include + +Name: SLP +Version: 1.0.0 +Description: Service Location Protocol (SLP) is an Internet Engineering Task Force (IETF) standards track protocol that provides a framework to allow networking applications to discover the existence, location, and configuration of networked services in enterprise networks +URL: http://www.openslp.org +Libs: -L${libdir} -lslp +Cflags: -I${includedir} diff --git a/package.yml b/package.yml index dc85614..b35b60a 100644 --- a/package.yml +++ b/package.yml @@ -39,3 +39,4 @@ install : | install -Dm 00644 $pkgfiles/openslp.service $installdir/usr/lib/systemd/system/openslp.service install -Dm 00644 $pkgfiles/slpd.8.gz $installdir/usr/share/man/man8/slpd.8.gz install -Dm 00644 $pkgfiles/slptool.1.gz $installdir/usr/share/man/man1/slptool.1.gz + install -Dm 00644 $pkgfiles/slp.pc $installdir/usr/lib64/pkgconfig/slp.pc