new: migrate more packages
This commit is contained in:
3
src/popt/.gitignore
vendored
Normal file
3
src/popt/.gitignore
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
.cache/
|
||||
dist/
|
||||
root/
|
2
src/popt/changes.md
Normal file
2
src/popt/changes.md
Normal file
@ -0,0 +1,2 @@
|
||||
# 1.19
|
||||
First version
|
23
src/popt/pkg.sh
Normal file
23
src/popt/pkg.sh
Normal 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}"
|
||||
}
|
Reference in New Issue
Block a user