mingw64-i686-glib2.0 2.36.4
[git/cygwin-packages/mingw64-i686-glib2.0.git] / mingw64-i686-glib2.0.cygport
CommitLineData
07e78f7a
YS
1CROSS_HOST="i686-w64-mingw32"
2ORIG_PN="glib"
3inherit cross gnome2
4
2f4a3611 5NAME="mingw64-i686-glib2.0"
d13030fc 6VERSION=2.36.4
2f4a3611 7RELEASE=1
07e78f7a
YS
8CATEGORY="Devel"
9SUMMARY="GNOME core C function library for Win32 toolchain"
2f4a3611
YS
10HOMEPAGE="http://www.gtk.org/"
11DESCRIPTION="This package does NOT contain cygwin binaries. Instead, it
12contains msvcrt-linked binaries (aka 'mingw'). It is for use with the
13mingw64-i686-gcc cross compiler, and installs into the
14/usr/i686-w64-mingw32/sys-root/mingw/{lib,include} directories."
2f4a3611 15
d13030fc 16PATCH_URI="2.34.3-m4macros.patch"
2f4a3611
YS
17
18DIFF_EXCLUDES="config.py"
19
d13030fc
YS
20src_compile() {
21 cd ${S}
22 gnome2_autoreconf
23
24 # static and shared cannot be built simultaneously
25 mkdir -p ${B}/shared
26 cd ${B}/shared
27 gnome2_configure --enable-shared --disable-static
28 cygmake
29
30 mkdir -p ${B}/static
31 cd ${B}/static
32 gnome2_configure --disable-shared --enable-static
33 cygmake
34}
35
2f4a3611 36src_install() {
d13030fc
YS
37 cd ${B}/static
38 cyginstall
39 cd ${B}/shared
2f4a3611
YS
40 cyginstall
41
42 rm -f ${D}${CROSS_BINDIR}/gdbus-codegen
43 rm -f ${D}${CROSS_BINDIR}/glib-{compile-resources,genmarshal,gettextize,mkenums}*
d13030fc 44 rm -fr ${D}${CROSS_LIBDIR}/charset.alias
2f4a3611 45 rm -fr ${D}${CROSS_DATADIR}/{bash-completion,gdb,man}/
d13030fc 46 rm -fr ${D}${CROSS_DATADIR}/glib-2.0/{codegen,gdb,gettext}
2f4a3611 47}
This page took 0.040573 seconds and 5 git commands to generate.