]>
Commit | Line | Data |
---|---|---|
df1ad87c MT |
1 | ############################################################################### |
2 | # IPFire.org - An Open Source Firewall Solution # | |
3 | # Copyright (C) - IPFire Development Team <info@ipfire.org> # | |
4 | ############################################################################### | |
5 | ||
6 | name = pps-tools | |
7 | version = 0 | |
8 | ver_git = 20120215gitac0aa6 | |
9 | release = 0.1.%{ver_git} | |
10 | ||
11 | groups = System/Base | |
12 | url = https://github.com/ago/pps-tools | |
13 | license = GPLv2+ | |
14 | summary = LinuxPPS user-space tools. | |
15 | ||
16 | description | |
17 | This package includes the LinuxPPS user-space tools. | |
18 | end | |
19 | ||
20 | sources = %{name}-%{ver_git}.tar.gz | |
21 | ||
22 | build | |
23 | DIR_APP = %{DIR_SRC}/%{name} | |
24 | ||
25 | install | |
26 | mkdir -pv %{BUILDROOT}{%{bindir},%{includedir}/sys} | |
27 | install -m 755 ppsctl ppsfind ppstest ppswatch %{BUILDROOT}%{bindir} | |
28 | install -m 644 timepps.h %{BUILDROOT}%{includedir} | |
29 | ln -svf ../timepps.h %{BUILDROOT}%{includedir}/sys/timepps.h | |
30 | end | |
31 | end | |
32 | ||
33 | packages | |
34 | package %{name} | |
35 | ||
36 | package %{name}-devel | |
37 | template DEVEL | |
38 | ||
39 | description | |
40 | This package includes the headers needed | |
41 | to compile PPSAPI (RFC-2783) applications. | |
42 | end | |
43 | end | |
44 | ||
45 | package %{name}-debuginfo | |
46 | template DEBUGINFO | |
47 | end | |
48 | end |