]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blame - cryptsetup-luks/cryptsetup-luks.nm
Move all packages to root.
[people/ms/ipfire-3.x.git] / cryptsetup-luks / cryptsetup-luks.nm
CommitLineData
11c61e23 1###############################################################################
802ea3af
MT
2# IPFire.org - An Open Source Firewall Solution #
3# Copyright (C) - IPFire Development Team <info@ipfire.org> #
11c61e23
SS
4###############################################################################
5
802ea3af
MT
6name = cryptsetup-luks
7version = 1.1.0
8release = 1
11c61e23 9
802ea3af
MT
10groups = System/Filesystems
11url = http://cryptsetup.googlecode.com/
12license = GPLv2+
13summary = A utility for setting up encrypted filesystems.
11c61e23 14
802ea3af 15description
11c61e23
SS
16 This package contains cryptsetup, a utility for setting up \
17 encrypted filesystems using Device Mapper and the dm-crypt target.
802ea3af 18end
11c61e23 19
802ea3af
MT
20source_dl =
21sources = cryptsetup-%{version}.tar.bz2
11c61e23 22
802ea3af
MT
23build
24 requires
25 libdevmapper-devel
26 libgcrypt-devel
27 libgpg-error-devel
28 libuuid-devel
29 popt-devel
30 end
50ad4471 31
802ea3af 32 DIR_APP = %{DIR_SRC}/cryptsetup-%{version}
11c61e23 33
802ea3af 34 configure_options += \
11c61e23
SS
35 --sbindir=/sbin \
36 --libdir=/lib \
37 --disable-static
38
802ea3af
MT
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
45end
46
47packages
48 package %{name}
49 end
50
51 package %{name}-devel
52 template DEVEL
53 end
54end