Fix dependencies and add comments to source.sh script
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user