Fix dependencies, add license and enable additional options
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
name: gettext
|
||||
description: GNU internationalization library
|
||||
version: 0.22.4
|
||||
revision: 2
|
||||
revision: 3
|
||||
url: https://www.gnu.org/software/gettext/
|
||||
license: GFDL1.2-only,GPL2-only,GPL2-or-later,LGPL2-only
|
||||
architecture: any
|
||||
depends: ["acl","bash","gcc","glibc"]
|
||||
make_depends: ["bash","binutils","coreutils","gawk","gcc","glibc","grep","make","ncurses","sed","texinfo"]
|
||||
depends: ["acl","attr","gcc","libunistring","libxml2","ncurses","sh"]
|
||||
optional_depends: ["appstream"]
|
||||
type: source
|
||||
|
||||
@@ -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