From b1c165016910e48848621522c18c50ea9341731d Mon Sep 17 00:00:00 2001 From: Alexander Zhirov Date: Tue, 18 Mar 2025 04:13:00 +0300 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB=D0=B5?= =?UTF-8?q?=D0=BD=20pc=20=D1=84=D0=B0=D0=B9=D0=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- files/slp.pc | 11 +++++++++++ package.yml | 1 + 2 files changed, 12 insertions(+) create mode 100644 files/slp.pc 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