mingw64-i686-glib2.0 2.36.4
[git/cygwin-packages/mingw64-i686-glib2.0.git] / mingw64-i686-glib2.0.cygport
1 CROSS_HOST="i686-w64-mingw32"
2 ORIG_PN="glib"
3 inherit cross gnome2
4
5 NAME="mingw64-i686-glib2.0"
6 VERSION=2.36.4
7 RELEASE=1
8 CATEGORY="Devel"
9 SUMMARY="GNOME core C function library for Win32 toolchain"
10 HOMEPAGE="http://www.gtk.org/"
11 DESCRIPTION="This package does NOT contain cygwin binaries. Instead, it
12 contains msvcrt-linked binaries (aka 'mingw'). It is for use with the
13 mingw64-i686-gcc cross compiler, and installs into the
14 /usr/i686-w64-mingw32/sys-root/mingw/{lib,include} directories."
15
16 PATCH_URI="2.34.3-m4macros.patch"
17
18 DIFF_EXCLUDES="config.py"
19
20 src_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
36 src_install() {
37 cd ${B}/static
38 cyginstall
39 cd ${B}/shared
40 cyginstall
41
42 rm -f ${D}${CROSS_BINDIR}/gdbus-codegen
43 rm -f ${D}${CROSS_BINDIR}/glib-{compile-resources,genmarshal,gettextize,mkenums}*
44 rm -fr ${D}${CROSS_LIBDIR}/charset.alias
45 rm -fr ${D}${CROSS_DATADIR}/{bash-completion,gdb,man}/
46 rm -fr ${D}${CROSS_DATADIR}/glib-2.0/{codegen,gdb,gettext}
47 }
This page took 0.036193 seconds and 5 git commands to generate.