]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blame - glib2/glib2.nm
Merge remote-tracking branch 'stevee/kbd'
[people/ms/ipfire-3.x.git] / glib2 / glib2.nm
CommitLineData
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
MT
6name = glib2
7ver_major = 2.30
8version = %{ver_major}.0
9release = 2
10thisapp = glib-%{version}
166a3088 11
802ea3af
MT
12groups = System/Libraries
13url = http://www.gtk.org
14license = LGPLv2+
15summary = A library of handy utility functions.
166a3088 16
802ea3af 17description
119f8a83
SS
18 GLib is the low-level core library that forms the basis
19 for projects such as GTK+ and GNOME. It provides data structure
20 handling for C, portability wrappers, and interfaces for such runtime
21 functionality as an event loop, threads, dynamic loading, and an
166a3088 22 object system.
802ea3af
MT
23end
24
119f8a83 25source_dl = http://ftp.gnome.org/pub/gnome/sources/glib/%{version_major}/
802ea3af
MT
26sources = %{thisapp}.tar.xz
27
28build
29 requires
30 gettext
31 libffi-devel
32 libselinux-devel
33 pcre-devel
34 pkg-config
35 zlib-devel
36 end
37
38 configure_options += \
39 --sysconfdir=/etc \
40 --with-pcre=system
41
42 install_cmds
43 ./mkinstalldirs %{BUILDROOT}/lib
44 cd %{BUILDROOT}/usr/lib && for name in glib gobject gmodule gthread gio; do \
45 mv -v lib${name}-2.0.so.* ../../lib; \
46 ln -svf ../../lib/lib${name}-2.0.so.*.* lib${name}-2.0.so; \
47 done
48
49 mkdir -pv %{BUILDROOT}/etc/profile.d/
50 cp -vf %{DIR_SOURCE}/glib2-locale.sh %{BUILDROOT}/etc/profile.d/
51 end
52end
53
54packages
2e5078c8
MT
55 package %{name}
56
57 package %{name}-devel
802ea3af
MT
58 template DEVEL
59 end
60end