]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blame - glib2/glib2.nm
Merge remote-tracking branch 'stevee/systemd'
[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
802ea3af 6name = glib
119f8a83
SS
7version = 2.30.0
8version_major = 2.30
802ea3af 9release = 1
166a3088 10
802ea3af
MT
11groups = System/Libraries
12url = http://www.gtk.org
13license = LGPLv2+
14summary = A library of handy utility functions.
166a3088 15
802ea3af 16description
119f8a83
SS
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
166a3088 21 object system.
802ea3af
MT
22end
23
119f8a83 24source_dl = http://ftp.gnome.org/pub/gnome/sources/glib/%{version_major}/
802ea3af
MT
25sources = %{thisapp}.tar.xz
26
27build
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
51end
52
53packages
54 package %{name}2
55 end
56
57 package %{name}2-devel
58 template DEVEL
59 end
60end