]> git.ipfire.org Git - people/amarx/ipfire-3.x.git/blob - libcgroup/libcgroup.nm
893b5551e38d3963853aac8f546ea9441ff93c88
[people/amarx/ipfire-3.x.git] / libcgroup / libcgroup.nm
1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
5
6 name = libcgroup
7 version = 0.35.1
8 release = 1
9
10 groups = Development/Libraries
11 url = http://libcg.sourceforge.net/
12 license = LGPLv2+
13 summary = Tools and libraries to control and monitor control groups.
14
15 description
16 Control groups infrastructure. The tools and library help manipulate, \
17 control, administrate and monitor control groups and the associated \
18 controllers.
19 end
20
21 source_dl =
22 sources = %{thisapp}.tar.bz2
23
24 build
25 requires
26 bison
27 gcc-c++
28 flex
29 end
30
31 configure_options += \
32 --libdir=/lib \
33 --disable-pam \
34 --disable-tools \
35 --disable-daemon
36
37 #define test
38 # make check
39 #endef
40
41 install_cmds
42 rm -rf %{BUILDROOT}/etc
43
44 mkdir -pv %{BUILDROOT}/usr/lib
45 rm -vf %{BUILDROOT}/lib/libcgroup.so
46 ln -svf ../../lib/libcgroup.so.1 %{BUILDROOT}/usr/lib/libcgroup.so
47 end
48 end
49
50 packages
51 package %{name}
52 end
53
54 package %{name}-devel
55 template DEVEL
56 end
57 end