Imported sources from subversion.
This commit is contained in:
55
packages/glib/default.bash
Executable file
55
packages/glib/default.bash
Executable file
@@ -0,0 +1,55 @@
|
||||
version=\
|
||||
(
|
||||
'2.37.1'
|
||||
)
|
||||
|
||||
url=\
|
||||
(
|
||||
"http://ftp.acc.umu.se/pub/gnome/sources/glib/2.37/glib-$version.tar.xz"
|
||||
)
|
||||
|
||||
md5=\
|
||||
(
|
||||
'bee51d61aa0d9b4071e997ff6c5fed5e'
|
||||
)
|
||||
|
||||
maintainer=\
|
||||
(
|
||||
'Ricardo Martins <rasm@fe.up.pt>'
|
||||
)
|
||||
|
||||
requires=\
|
||||
(
|
||||
'pcre/default'
|
||||
'libffi/default'
|
||||
)
|
||||
|
||||
configure()
|
||||
{
|
||||
export PKG_CONFIG_PATH="$cfg_dir_toolchain_sysroot/usr/lib/pkgconfig"
|
||||
export glib_cv_stack_grows=no
|
||||
export glib_cv_uscore=yes
|
||||
export ac_cv_func_posix_getpwuid_r=yes
|
||||
export ac_cv_func_posix_getgrgid_r=yes
|
||||
|
||||
./configure \
|
||||
--prefix="$cfg_dir_toolchain_sysroot/usr" \
|
||||
--target="$cfg_target_canonical" \
|
||||
--host="$cfg_target_canonical" \
|
||||
--build="$cfg_host_canonical" \
|
||||
--enable-gtk-doc-html=no \
|
||||
--enable-xattr=no \
|
||||
--with-pcre=system \
|
||||
--with-libiconv=no \
|
||||
--disable-silent-rules
|
||||
}
|
||||
|
||||
build()
|
||||
{
|
||||
$cmd_make
|
||||
}
|
||||
|
||||
host_install()
|
||||
{
|
||||
$cmd_make install
|
||||
}
|
44
packages/glib/host.bash
Normal file
44
packages/glib/host.bash
Normal file
@@ -0,0 +1,44 @@
|
||||
version=\
|
||||
(
|
||||
'2.32.4'
|
||||
)
|
||||
|
||||
url=\
|
||||
(
|
||||
"http://ftp.gnome.org/pub/gnome/sources/glib/2.32/glib-$version.tar.xz"
|
||||
)
|
||||
|
||||
md5=\
|
||||
(
|
||||
'bf84fefd9c1a5b5a7a38736f4ddd674a'
|
||||
)
|
||||
|
||||
maintainer=\
|
||||
(
|
||||
'Ricardo Martins <rasm@fe.up.pt>'
|
||||
)
|
||||
|
||||
requires=\
|
||||
(
|
||||
'libffi/host'
|
||||
'gettext/host'
|
||||
'zlib/host'
|
||||
'python_host/host'
|
||||
)
|
||||
|
||||
configure()
|
||||
{
|
||||
PKG_CONFIG_PATH="$cfg_dir_toolchain/lib/pkgconfig" \
|
||||
"./configure" \
|
||||
--prefix="$cfg_dir_toolchain"
|
||||
}
|
||||
|
||||
build()
|
||||
{
|
||||
$cmd_make
|
||||
}
|
||||
|
||||
host_install()
|
||||
{
|
||||
$cmd_make install
|
||||
}
|
Reference in New Issue
Block a user