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