mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-27 12:48:22 +00:00
25 lines
559 B
Plaintext
25 lines
559 B
Plaintext
name=gettext
|
|
revision=1
|
|
from_source=gettext
|
|
imagedeps="build-essential"
|
|
hostdeps="xgcc xbinutils autoconf automake pkgconfig libtool"
|
|
deps="base libiconv"
|
|
|
|
configure() {
|
|
cp -rp ${source_dir}/* .
|
|
|
|
ACLOCAL=true AUTCONF=true AUTOMAKE=true AUTOHEADER=true ./configure --host=x86_64-astral --prefix=${prefix} --disable-static
|
|
}
|
|
|
|
build() {
|
|
make -j ${parallelism}
|
|
}
|
|
|
|
package() {
|
|
make install DESTDIR=${dest_dir}
|
|
|
|
rm -f ${dest_dir}/${prefix}/include/libintl.h
|
|
rm -f ${dest_dir}/${prefix}/lib/libintl.so*
|
|
rm -f ${dest_dir}/${prefix}/share/locale/locale.alias
|
|
}
|