new: migrate more packages
This commit is contained in:
3
src/libndp/.gitignore
vendored
Normal file
3
src/libndp/.gitignore
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
.cache/
|
||||
dist/
|
||||
root/
|
2
src/libndp/changes.md
Normal file
2
src/libndp/changes.md
Normal file
@ -0,0 +1,2 @@
|
||||
# 1.8
|
||||
First version
|
27
src/libndp/pkg.sh
Normal file
27
src/libndp/pkg.sh
Normal file
@ -0,0 +1,27 @@
|
||||
# general info
|
||||
NAME="libndp"
|
||||
DESC="Library for Neighbor Discovery Protocol"
|
||||
VERSION="1.9"
|
||||
|
||||
# required files
|
||||
FILES=("https://github.com/jpirko/libndp/archive/refs/tags/v${VERSION}.tar.gz")
|
||||
HASHES=("e564f5914a6b1b799c3afa64c258824a801c1b79a29e2fe6525b682249c65261")
|
||||
|
||||
# install and build depends
|
||||
DEPENDS=("glibc")
|
||||
BUILD=()
|
||||
|
||||
build(){
|
||||
tar xf "v${VERSION}.tar.gz"
|
||||
cd "${NAME}-${VERSION}"
|
||||
|
||||
./autogen.sh
|
||||
./configure --prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
--localstatedir=/var \
|
||||
--disable-static
|
||||
make
|
||||
make DESTDIR="${ROOTDIR}" install
|
||||
|
||||
cd .. && rm -r "${NAME}-${VERSION}"
|
||||
}
|
Reference in New Issue
Block a user