]>
Commit | Line | Data |
---|---|---|
e1d1dae5 | 1 | ############################################################################### |
802ea3af MT |
2 | # IPFire.org - An Open Source Firewall Solution # |
3 | # Copyright (C) - IPFire Development Team <info@ipfire.org> # | |
e1d1dae5 MT |
4 | ############################################################################### |
5 | ||
802ea3af MT |
6 | name = libnl |
7 | version = 1.1 | |
8 | release = 1 | |
e1d1dae5 | 9 | |
802ea3af MT |
10 | groups = Development/Libraries |
11 | url = http://people.suug.ch/~tgr/libnl/ | |
12 | license = LGPLv2 | |
13 | summary = Convenience library for kernel netlink sockets. | |
e1d1dae5 | 14 | |
802ea3af | 15 | description |
e1d1dae5 MT |
16 | This package contains a convenience library to simplify using the \ |
17 | Linux kernel's netlink sockets interface for network manipulation. | |
802ea3af MT |
18 | end |
19 | ||
20 | source_dl = | |
21 | ||
22 | build | |
23 | configure_options += \ | |
24 | --libdir=/lib | |
25 | ||
26 | install_cmds | |
27 | rm -vf %{BUILDROOT}/lib/libnl.so | |
28 | mkdir -pv %{BUILDROOT}/usr/lib | |
29 | ln -svf ../../lib/libnl.so.1 %{BUILDROOT}/usr/lib/libnl.so | |
30 | ||
31 | mv -v %{BUILDROOT}/lib/pkgconfig %{BUILDROOT}/usr/lib/pkgconfig | |
32 | end | |
33 | end | |
34 | ||
35 | packages | |
36 | package %{name} | |
37 | end | |
38 | ||
39 | package %{name}-devel | |
40 | template DEVEL | |
41 | end | |
42 | end |