]>
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 | ||
2e5078c8 | 6 | name = glib2 |
eac3ee6b SS |
7 | ver_major = 2.50 |
8 | ver_minor = 1 | |
9edaaeab EK |
9 | version = %{ver_major}.%{ver_minor} |
10 | release = 1 | |
2e5078c8 | 11 | thisapp = glib-%{version} |
166a3088 | 12 | |
9edaaeab | 13 | maintainer = Erik Kapfer <erik.kapfer@ipfire.org> |
802ea3af MT |
14 | groups = System/Libraries |
15 | url = http://www.gtk.org | |
16 | license = LGPLv2+ | |
17 | summary = A library of handy utility functions. | |
166a3088 | 18 | |
802ea3af | 19 | description |
119f8a83 SS |
20 | GLib is the low-level core library that forms the basis |
21 | for projects such as GTK+ and GNOME. It provides data structure | |
22 | handling for C, portability wrappers, and interfaces for such runtime | |
23 | functionality as an event loop, threads, dynamic loading, and an | |
166a3088 | 24 | object system. |
802ea3af MT |
25 | end |
26 | ||
f6a10344 | 27 | source_dl = http://ftp.gnome.org/pub/gnome/sources/glib/%{ver_major}/ |
802ea3af MT |
28 | sources = %{thisapp}.tar.xz |
29 | ||
30 | build | |
31 | requires | |
32 | gettext | |
33 | libffi-devel | |
eac3ee6b | 34 | libmount-devel |
802ea3af MT |
35 | pcre-devel |
36 | pkg-config | |
37 | zlib-devel | |
38 | end | |
39 | ||
40 | configure_options += \ | |
802ea3af MT |
41 | --with-pcre=system |
42 | ||
43 | install_cmds | |
802ea3af MT |
44 | mkdir -pv %{BUILDROOT}/etc/profile.d/ |
45 | cp -vf %{DIR_SOURCE}/glib2-locale.sh %{BUILDROOT}/etc/profile.d/ | |
46 | end | |
47 | end | |
48 | ||
49 | packages | |
2e5078c8 MT |
50 | package %{name} |
51 | ||
52 | package %{name}-devel | |
802ea3af MT |
53 | template DEVEL |
54 | end | |
1f9bc2f0 MT |
55 | |
56 | package %{name}-debuginfo | |
57 | template DEBUGINFO | |
58 | end | |
802ea3af | 59 | end |