Fix dependencies and add comments to source.sh script
This commit is contained in:
@@ -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