]>
Commit | Line | Data |
---|---|---|
274ff921 | 1 | ############################################################################### |
802ea3af MT |
2 | # IPFire.org - An Open Source Firewall Solution # |
3 | # Copyright (C) - IPFire Development Team <info@ipfire.org> # | |
274ff921 SS |
4 | ############################################################################### |
5 | ||
802ea3af MT |
6 | name = libcgroup |
7 | version = 0.35.1 | |
8 | release = 1 | |
274ff921 | 9 | |
802ea3af MT |
10 | groups = Development/Libraries |
11 | url = http://libcg.sourceforge.net/ | |
12 | license = LGPLv2+ | |
13 | summary = Tools and libraries to control and monitor control groups. | |
274ff921 | 14 | |
802ea3af | 15 | description |
274ff921 SS |
16 | Control groups infrastructure. The tools and library help manipulate, \ |
17 | control, administrate and monitor control groups and the associated \ | |
802ea3af MT |
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 | |
1f9bc2f0 | 53 | |
802ea3af MT |
54 | package %{name}-devel |
55 | template DEVEL | |
56 | end | |
1f9bc2f0 MT |
57 | |
58 | package %{name}-debuginfo | |
59 | template DEBUGINFO | |
60 | end | |
802ea3af | 61 | end |