Skip to content
Snippets Groups Projects
Commit a9cc02da authored by Jan Alexander Steffens (heftig)'s avatar Jan Alexander Steffens (heftig)
Browse files

1.7-1

parent 1d0c9cc4
No related branches found
No related tags found
No related merge requests found
# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
pkgname=libndp
pkgver=1.6
pkgver=1.7
pkgrel=1
pkgdesc="Library for Neighbor Discovery Protocol"
arch=(x86_64)
url="http://libndp.org/"
license=(LGPL2.1)
depends=(glibc)
source=($url/files/$pkgname-$pkgver.tar.gz)
sha256sums=('0c7dfa84e013bd5e569ef2c6292a6f72cfaf14f4ff77a77425e52edc33ffac0e')
makedepends=(git)
_commit=96674e7d4f4d569c2c961e865cc16152dfab5f09 # tags/v1.7
source=("git+https://github.com/jpirko/libndp#commit=$_commit")
sha256sums=('SKIP')
pkgver() {
cd $pkgname
git describe --tags | sed 's/^v//;s/-/+/g'
}
prepare() {
cd $pkgname
./autogen.sh
}
build() {
cd $pkgname-$pkgver
cd $pkgname
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
--disable-static --libexecdir=/usr/lib
make
}
check() {
cd $pkgname-$pkgver
cd $pkgname
make check
}
package() {
cd $pkgname-$pkgver
cd $pkgname
make DESTDIR="$pkgdir" install
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment