]> git.ipfire.org Git - people/amarx/ipfire-3.x.git/blob - cryptsetup-luks/cryptsetup-luks.nm
116aa54b612da3784229dfa76ca54e41710a2b69
[people/amarx/ipfire-3.x.git] / cryptsetup-luks / cryptsetup-luks.nm
1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
5
6 name = cryptsetup-luks
7 version = 1.1.0
8 release = 1
9
10 groups = System/Filesystems
11 url = http://cryptsetup.googlecode.com/
12 license = GPLv2+
13 summary = A utility for setting up encrypted filesystems.
14
15 description
16 This package contains cryptsetup, a utility for setting up \
17 encrypted filesystems using Device Mapper and the dm-crypt target.
18 end
19
20 source_dl =
21 sources = cryptsetup-%{version}.tar.bz2
22
23 build
24 requires
25 libdevmapper-devel
26 libgcrypt-devel
27 libgpg-error-devel
28 libuuid-devel
29 popt-devel
30 end
31
32 DIR_APP = %{DIR_SRC}/cryptsetup-%{version}
33
34 configure_options += \
35 --sbindir=/sbin \
36 --libdir=/lib \
37 --disable-static
38
39 install_cmds
40 rm -rvf %{BUILDROOT}/lib/cryptsetup{,.la,.so}
41 mkdir -pv %{BUILDROOT}/usr/lib
42 mv -v %{BUILDROOT}/lib/pkgconfig %{BUILDROOT}/usr/lib/
43 ln -svf ../../lib/libcryptsetup.so.1 %{BUILDROOT}/usr/lib/libcryptsetup.so
44 end
45 end
46
47 packages
48 package %{name}
49 end
50
51 package %{name}-devel
52 template DEVEL
53 end
54 end