Fix dependencies, add license and enable additional options
This commit is contained in:
@@ -1,10 +1,10 @@
|
|||||||
name: gettext
|
name: gettext
|
||||||
description: GNU internationalization library
|
description: GNU internationalization library
|
||||||
version: 0.22.4
|
version: 0.22.4
|
||||||
revision: 2
|
revision: 3
|
||||||
url: https://www.gnu.org/software/gettext/
|
url: https://www.gnu.org/software/gettext/
|
||||||
license: GFDL1.2-only,GPL2-only,GPL2-or-later,LGPL2-only
|
license: GFDL1.2-only,GPL2-only,GPL2-or-later,LGPL2-only
|
||||||
architecture: any
|
architecture: any
|
||||||
depends: ["acl","bash","gcc","glibc"]
|
depends: ["acl","attr","gcc","libunistring","libxml2","ncurses","sh"]
|
||||||
make_depends: ["bash","binutils","coreutils","gawk","gcc","glibc","grep","make","ncurses","sed","texinfo"]
|
optional_depends: ["appstream"]
|
||||||
type: source
|
type: source
|
||||||
|
|||||||
@@ -17,6 +17,9 @@ prepare() {
|
|||||||
build() {
|
build() {
|
||||||
./configure --prefix=/usr \
|
./configure --prefix=/usr \
|
||||||
--disable-static \
|
--disable-static \
|
||||||
|
--enable-csharp \
|
||||||
|
--enable-nls \
|
||||||
|
--enable-xz \
|
||||||
--docdir=/usr/share/doc/gettext
|
--docdir=/usr/share/doc/gettext
|
||||||
make
|
make
|
||||||
}
|
}
|
||||||
@@ -31,5 +34,7 @@ check() {
|
|||||||
# This function is used to move the compiled files into the output directory
|
# This function is used to move the compiled files into the output directory
|
||||||
package() {
|
package() {
|
||||||
make DESTDIR="$BPM_OUTPUT" install
|
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