]>
Commit | Line | Data |
---|---|---|
166a3088 | 1 | ############################################################################### |
802ea3af MT |
2 | # IPFire.org - An Open Source Firewall Solution # |
3 | # Copyright (C) - IPFire Development Team <info@ipfire.org> # | |
166a3088 MT |
4 | ############################################################################### |
5 | ||
802ea3af MT |
6 | name = glib |
7 | version = 2.29.14 | |
8 | release = 1 | |
166a3088 | 9 | |
802ea3af MT |
10 | groups = System/Libraries |
11 | url = http://www.gtk.org | |
12 | license = LGPLv2+ | |
13 | summary = A library of handy utility functions. | |
166a3088 | 14 | |
802ea3af | 15 | description |
166a3088 MT |
16 | GLib is the low-level core library that forms the basis \ |
17 | for projects such as GTK+ and GNOME. It provides data structure \ | |
18 | handling for C, portability wrappers, and interfaces for such runtime \ | |
19 | functionality as an event loop, threads, dynamic loading, and an \ | |
20 | object system. | |
802ea3af MT |
21 | end |
22 | ||
23 | source_dl = | |
24 | sources = %{thisapp}.tar.xz | |
25 | ||
26 | build | |
27 | requires | |
28 | gettext | |
29 | libffi-devel | |
30 | libselinux-devel | |
31 | pcre-devel | |
32 | pkg-config | |
33 | zlib-devel | |
34 | end | |
35 | ||
36 | configure_options += \ | |
37 | --sysconfdir=/etc \ | |
38 | --with-pcre=system | |
39 | ||
40 | install_cmds | |
41 | ./mkinstalldirs %{BUILDROOT}/lib | |
42 | cd %{BUILDROOT}/usr/lib && for name in glib gobject gmodule gthread gio; do \ | |
43 | mv -v lib${name}-2.0.so.* ../../lib; \ | |
44 | ln -svf ../../lib/lib${name}-2.0.so.*.* lib${name}-2.0.so; \ | |
45 | done | |
46 | ||
47 | mkdir -pv %{BUILDROOT}/etc/profile.d/ | |
48 | cp -vf %{DIR_SOURCE}/glib2-locale.sh %{BUILDROOT}/etc/profile.d/ | |
49 | end | |
50 | end | |
51 | ||
52 | packages | |
53 | package %{name}2 | |
54 | end | |
55 | ||
56 | package %{name}2-devel | |
57 | template DEVEL | |
58 | end | |
59 | end |