Fix dependencies and add comments to source.sh script

This commit is contained in:
2025-05-12 15:57:41 +03:00
parent 6173de5275
commit fc7c5a36d2
2 changed files with 7 additions and 5 deletions
+1 -2
View File
@@ -1,10 +1,9 @@
name: readline
description: GNU readline library
version: 8.2
revision: 2
revision: 3
url: https://tiswww.case.edu/php/chet/readline/rltop.html
license: GPL3-only
architecture: any
depends: ["glibc","ncurses"]
make_depends: ["bash","binutils","coreutils","gawk","gcc","glibc","grep","make","ncurses","patch","sed","texinfo"]
type: source
+6 -3
View File
@@ -32,8 +32,11 @@ check() {
# This function is used to move the compiled files into the output directory
package() {
make SHLIB_LIBS="-lncursesw" DESTDIR="$BPM_OUTPUT" install
mkdir -p "$BPM_OUTPUT"/usr/share/doc
# Install documentation
install -d "$BPM_OUTPUT"/usr/share/doc/readline
install -m644 doc/*.{ps,pdf,html,dvi} "$BPM_OUTPUT"/usr/share/doc/
mkdir -p "$BPM_OUTPUT"/usr/share/licenses/readline
cp COPYING "$BPM_OUTPUT"/usr/share/licenses/readline
# Install package license
install -Dm644 COPYING "$BPM_OUTPUT"/usr/share/licenses/readline/COPYING
}