add new packages

This commit is contained in:
aliriza committed 2022-11-02 05:49:39 +00:00
1 parent 17aaa478c3
commit e171edf110
6 files changed
+842

No files matched your search

+23
View File
@@ -0,0 +1,23 @@
#!/bin/bash
name=readline
version=8.1
release=1
source=(https://ftp.gnu.org/pub/gnu/$name/$name-$version.tar.gz)
md5sums=(e9557dd5b1409f5d7b37ef717c64518e)
depends=(glibc)
cd $name-$version
setup(){
./configure --prefix=/usr \
--libdir=/lib
}
build(){
make SHLIB_LIBS="-L/tools/lib -lncursesw"
}
package(){
make SHLIB_LIBS="-L/tools/lib -lncursesw" DESTDIR="$DESTDIR" install
install -Dm644 ../inputrc "$DESTDIR"/etc/inputrc
}