new: migrate more packages

This commit is contained in:
ngn
2024-07-24 22:09:01 +03:00
parent 07d499fef5
commit a7dfd49ab5
36 changed files with 380 additions and 0 deletions

3
src/libndp/.gitignore vendored Normal file
View File

@ -0,0 +1,3 @@
.cache/
dist/
root/

2
src/libndp/changes.md Normal file
View File

@ -0,0 +1,2 @@
# 1.8
First version

27
src/libndp/pkg.sh Normal file
View 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}"
}