]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blame_incremental - glib2/glib2.nm
Merge remote-tracking branch 'stevee/systemd'
[people/ms/ipfire-3.x.git] / glib2 / glib2.nm
... / ...
CommitLineData
1###############################################################################
2# IPFire.org - An Open Source Firewall Solution #
3# Copyright (C) - IPFire Development Team <info@ipfire.org> #
4###############################################################################
5
6name = glib
7version = 2.30.0
8version_major = 2.30
9release = 1
10
11groups = System/Libraries
12url = http://www.gtk.org
13license = LGPLv2+
14summary = A library of handy utility functions.
15
16description
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.
22end
23
24source_dl = http://ftp.gnome.org/pub/gnome/sources/glib/%{version_major}/
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