diff --git a/common/shlibs b/common/shlibs index 8012d524d9..0f2d0fc7bd 100644 --- a/common/shlibs +++ b/common/shlibs @@ -1827,3 +1827,4 @@ libCDApplet.so cairo-dock-plugins-3.4.0_1 libhydrogen-core-0.9.6.1.so hydrogen-0.9.6.1_1 libldns.so.1 libldns-1.6.17_1 libopenjpeg.so.5 libopenjpeg-1.5.2_1 +liboping.so.0 liboping-1.8.0_1 diff --git a/srcpkgs/liboping-devel b/srcpkgs/liboping-devel new file mode 120000 index 0000000000..98901f5bde --- /dev/null +++ b/srcpkgs/liboping-devel @@ -0,0 +1 @@ +liboping \ No newline at end of file diff --git a/srcpkgs/liboping-perl b/srcpkgs/liboping-perl new file mode 120000 index 0000000000..98901f5bde --- /dev/null +++ b/srcpkgs/liboping-perl @@ -0,0 +1 @@ +liboping \ No newline at end of file diff --git a/srcpkgs/liboping/template b/srcpkgs/liboping/template new file mode 100644 index 0000000000..c0409b2488 --- /dev/null +++ b/srcpkgs/liboping/template @@ -0,0 +1,33 @@ +# Template file for 'liboping' +pkgname=liboping +version=1.8.0 +revision=1 +build_style=gnu-configure +hostmakedepends="perl" +short_desc="C library to generate ICMP echo requests" +maintainer="Juan RP " +license="LGPL-2.1,GPL-2" +homepage="http://noping.cc/" +distfiles="http://noping.cc/files/liboping-${version}.tar.bz2" +checksum=1dcb9182c981b31d67522ae24e925563bed57cf950dc681580c4b0abb6a65bdb + +liboping-devel_package() { + short_desc+=" - development files" + depends="${sourcepkg}>=${version}_${revision}" + pkg_install() { + vmove usr/include + vmove usr/lib/*.so + vmove usr/lib/*.a + vmove usr/lib/pkgconfig + vmove usr/share/man/man3/liboping.3 + vmove usr/share/man/man3/ping_*.3 + } +} +liboping-perl_package() { + short_desc+=" - perl bindings" + depends="perl" + pkg_install() { + vmove usr/share/man/man3/Net::Oping.3p + vmove usr/lib/perl5 + } +}