New package: liboping-1.8.0.

This commit is contained in:
Juan RP 2014-12-01 19:31:00 +01:00
parent 63fbe60036
commit eedca4a854
4 changed files with 36 additions and 0 deletions

View file

@ -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

1
srcpkgs/liboping-devel Symbolic link
View file

@ -0,0 +1 @@
liboping

1
srcpkgs/liboping-perl Symbolic link
View file

@ -0,0 +1 @@
liboping

33
srcpkgs/liboping/template Normal file
View file

@ -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 <xtraeme@gmail.com>"
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
}
}