]>
Commit | Line | Data |
---|---|---|
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 |
6 | name = cryptsetup-luks |
7 | version = 1.1.0 | |
dc3a4d27 | 8 | release = 2 |
11c61e23 | 9 | |
802ea3af MT |
10 | groups = System/Filesystems |
11 | url = http://cryptsetup.googlecode.com/ | |
12 | license = GPLv2+ | |
13 | summary = A utility for setting up encrypted filesystems. | |
11c61e23 | 14 | |
802ea3af | 15 | description |
11c61e23 SS |
16 | This package contains cryptsetup, a utility for setting up \ |
17 | encrypted filesystems using Device Mapper and the dm-crypt target. | |
802ea3af | 18 | end |
11c61e23 | 19 | |
802ea3af MT |
20 | source_dl = |
21 | sources = cryptsetup-%{version}.tar.bz2 | |
11c61e23 | 22 | |
802ea3af MT |
23 | build |
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 | 35 | --sbindir=/sbin \ |
dc3a4d27 | 36 | --libdir=/%{lib} \ |
11c61e23 SS |
37 | --disable-static |
38 | ||
802ea3af | 39 | install_cmds |
dc3a4d27 MT |
40 | rm -rvf %{BUILDROOT}/%{lib}/cryptsetup{,.la,.so} |
41 | mkdir -pv %{BUILDROOT}%{libdir} | |
42 | mv -v %{BUILDROOT}/%{lib}/pkgconfig %{BUILDROOT}%{libdir} | |
43 | ln -svf ../../%{lib}/libcryptsetup.so.1 %{BUILDROOT}%{libdir}/libcryptsetup.so | |
802ea3af MT |
44 | end |
45 | end | |
46 | ||
47 | packages | |
48 | package %{name} | |
1f9bc2f0 | 49 | |
802ea3af MT |
50 | package %{name}-devel |
51 | template DEVEL | |
52 | end | |
1f9bc2f0 MT |
53 | |
54 | package %{name}-debuginfo | |
55 | template DEBUGINFO | |
56 | end | |
802ea3af | 57 | end |