mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-12-26 20:02:30 +01:00
36 lines
1.0 KiB
Plaintext
36 lines
1.0 KiB
Plaintext
# Contributor: Harry
|
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=liboping
|
|
pkgver=1.6.2
|
|
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
|
|
rm "$pkgdir"/usr/lib/*.la || return 1
|
|
}
|
|
|
|
md5sums="64a6f31310093d2517cfe7f05aa011e0 liboping-1.6.2.tar.bz2"
|
|
sha256sums="5f4ab4b127b5a8a79ab771002604bff0e2903622393e5602f336cad258bb73cf liboping-1.6.2.tar.bz2"
|
|
sha512sums="6e09cff67f0d87382a0c63b7b515de5bae0db97996b450aba5432a2bcd05d0b5c7481323c23d839c8937dd132bc9cfc5bb1a4ca50a3746653f4893fccd27357f liboping-1.6.2.tar.bz2"
|