mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-02-01 22:11:30 +01:00
35 lines
785 B
Plaintext
35 lines
785 B
Plaintext
# Contributor: Harry
|
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=liboping
|
|
pkgver=1.10.0
|
|
pkgrel=0
|
|
pkgdesc="A C library to generate ICMP echo requests"
|
|
url="http://verplant.org/liboping/"
|
|
arch="all"
|
|
license="LGPL-2.0-or-later"
|
|
makedepends="ncurses-dev"
|
|
subpackages="$pkgname-dev $pkgname-doc"
|
|
source="http://verplant.org/liboping/files/liboping-$pkgver.tar.bz2"
|
|
|
|
prepare() {
|
|
default_prepare
|
|
|
|
update_config_sub
|
|
update_config_guess
|
|
}
|
|
|
|
build() {
|
|
./configure \
|
|
--prefix=/usr \
|
|
--libdir=/usr/lib \
|
|
--without-perl-bindings \
|
|
--disable-static
|
|
make
|
|
}
|
|
|
|
package() {
|
|
make install DESTDIR="$pkgdir"
|
|
}
|
|
|
|
sha512sums="f1e9984cf0c1df89b29f7bc657c19a5439019db7643680744d8f353664b6a53070581f40b51e72f896c7df88799c6868257f6308e1a9d84b4d2a0666491214d8 liboping-1.10.0.tar.bz2"
|