]> git.ipfire.org Git - people/stevee/ipfire-3.x.git/blob - libatasmart/libatasmart.nm
Move all packages to root.
[people/stevee/ipfire-3.x.git] / libatasmart / libatasmart.nm
1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
5
6 name = libatasmart
7 version = 0.17
8 release = 1
9
10 groups = System/Statistics
11 url = http://git.0pointer.de/?p=libatasmart.git;a=summary
12 license = LGPLv2+
13 summary = ATA S.M.A.R.T. Disk Health Monitoring Library.
14
15 description
16 A scmall and lightweight parser library for ATA S.M.A.R.T. hard disk \
17 health monitoring.
18 end
19
20 source_dl =
21 sources = %{thisapp}.tar.gz
22
23 build
24 requires
25 libudev-devel
26 pkg-config
27 end
28
29 configure_options += \
30 --libdir=/lib
31
32 install_cmds
33 -mkdir -pv %{BUILDROOT}/usr/lib
34 mv -v %{BUILDROOT}/lib/pkgconfig %{BUILDROOT}/usr/lib/
35
36 rm -vf %{BUILDROOT}/lib/libatasmart.so
37 ln -svf ../../lib/libatasmart.so.4 %{BUILDROOT}/usr/lib/libatasmart.so
38 end
39 end
40
41 packages
42 package %{name}
43 end
44
45 package %{name}-devel
46 template DEVEL
47 end
48 end