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