blob: c628d5f0102c916c029de26634811aaf6416d503 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# Contributor: Harry
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=liboping
pkgver=1.9.0
pkgrel=0
pkgdesc="A C library to generate ICMP echo requests"
url="http://verplant.org/liboping/"
arch="all"
license="LGPL2+"
depends=""
makedepends="ncurses-dev"
subpackages="$pkgname-dev $pkgname-doc"
source="http://verplant.org/liboping/files/$pkgname-$pkgver.tar.bz2"
builddir="$srcdir/$pkgname-$pkgver"
build() {
cd "$builddir"
./configure \
--prefix=/usr \
--libdir=/usr/lib \
--without-perl-bindings \
--disable-static \
|| return 1
make || return 1
}
package() {
cd "$builddir"
make install DESTDIR="$pkgdir" || return 1
}
md5sums="9c9f65bfd297d7e7092c7f219c31f66a liboping-1.9.0.tar.bz2"
sha256sums="44bb1d88b56b88fda5533edb3aa005c69b3cd396f20453a157d7e31e536f3530 liboping-1.9.0.tar.bz2"
sha512sums="dcbadeea5154d4f4c31f806cae4ee5b8d5a8dfe243a9de4dad4b81b5b227538e1bb0c20afef121bd8ad841346da39fd5fb4710db981b89c11acc573c4f401c85 liboping-1.9.0.tar.bz2"
|