new: migrate more packages

This commit is contained in:
ngn
2024-07-30 02:57:37 +03:00
parent 0ffdf01794
commit 1a08fbc0a7
159 changed files with 985 additions and 109 deletions

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

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

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

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

23
src/popt/pkg.sh Normal file
View File

@ -0,0 +1,23 @@
# general info
NAME="popt"
DESC="C library for parsing command line parameters"
VERSION="1.19"
# required files
FILES=("http://ftp.rpm.org/popt/releases/popt-${VERSION%.*}.x/popt-${VERSION}.tar.gz")
HASHES=("eaa2135fddb6eb03f2c87ee1823e5a78")
# install and build depends
DEPENDS=("glibc")
BUILD=()
PACKAGE(){
tar xf "${NAME}-${VERSION}.tar.gz"
cd "${NAME}-${VERSION}"
./configure --prefix=/usr --disable-static
make
make DESTDIR="${ROOTDIR}" install
cd .. && rm -r "${NAME}-${VERSION}"
}