Fix dependencies, add license and enable additional options
This commit is contained in:
@@ -17,6 +17,9 @@ prepare() {
|
||||
build() {
|
||||
./configure --prefix=/usr \
|
||||
--disable-static \
|
||||
--enable-csharp \
|
||||
--enable-nls \
|
||||
--enable-xz \
|
||||
--docdir=/usr/share/doc/gettext
|
||||
make
|
||||
}
|
||||
@@ -31,5 +34,7 @@ check() {
|
||||
# This function is used to move the compiled files into the output directory
|
||||
package() {
|
||||
make DESTDIR="$BPM_OUTPUT" install
|
||||
chmod -v 0755 "$BPM_OUTPUT"/usr/lib/preloadable_libintl.so
|
||||
|
||||
# Install package license
|
||||
install -Dm644 "$BPM_SOURCE"/COPYING "$BPM_OUTPUT"/usr/share/licenses/gettext/COPYING
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user