]>
Commit | Line | Data |
---|---|---|
395b8b6d | 1 | ############################################################################### |
802ea3af MT |
2 | # IPFire.org - An Open Source Firewall Solution # |
3 | # Copyright (C) - IPFire Development Team <info@ipfire.org> # | |
395b8b6d MT |
4 | ############################################################################### |
5 | ||
802ea3af | 6 | name = parted |
a309947b | 7 | version = 3.2 |
bce502ba | 8 | release = 1 |
395b8b6d | 9 | |
802ea3af MT |
10 | groups = Applications/System |
11 | url = http://www.gnu.org/software/parted | |
12 | license = GPLv3+ | |
13 | summary = The GNU disk partition manipulation program. | |
395b8b6d | 14 | |
802ea3af MT |
15 | description |
16 | The GNU Parted program allows you to create, destroy, resize, move, | |
17 | and copy hard disk partitions. Parted can be used for creating space | |
18 | for new operating systems, reorganizing disk usage, and copying data | |
395b8b6d | 19 | to new hard disks. |
802ea3af MT |
20 | end |
21 | ||
bce502ba SS |
22 | source_dl = http://ftp.gnu.org/gnu/parted/ |
23 | sources = %{thisapp}.tar.xz | |
802ea3af MT |
24 | |
25 | build | |
26 | requires | |
a309947b SS |
27 | # Testsuite |
28 | /usr/sbin/mkswap | |
29 | /usr/bin/udevadm | |
30 | ||
31 | # Build dependencies | |
802ea3af | 32 | libdevmapper-devel |
802ea3af MT |
33 | libuuid-devel |
34 | ncurses-devel | |
35 | pkg-config | |
36 | readline-devel | |
37 | end | |
38 | ||
a309947b SS |
39 | export LD_LIBRARY_PATH=%{DIR_APP}/libparted/.libs:%{DIR_APP}/libparted/fs/.libs |
40 | ||
802ea3af | 41 | configure_options += \ |
d2020e18 | 42 | --disable-Werror |
a309947b SS |
43 | |
44 | test | |
45 | # Disable test because it needs a locale C.UTF-8. | |
46 | sed -i '/t0251-gpt-unicode.sh/d' tests/Makefile | |
47 | ||
48 | # Disable tests because they force to require loopback devices. | |
49 | sed -i '/t6001-psep.sh/d' tests/Makefile | |
50 | sed -i '/t6002-dm-busy.sh/d' tests/Makefile | |
51 | sed -i '/t6003-dm-hide.sh/d' tests/Makefile | |
52 | sed -i '/t6004-dm-many-partitions.sh/d' tests/Makefile | |
53 | sed -i '/t6005-dm-uuid.sh/d' tests/Makefile | |
54 | ||
55 | # Run testsuite. | |
56 | make check | |
57 | end | |
802ea3af MT |
58 | end |
59 | ||
60 | packages | |
61 | package %{name} | |
1f9bc2f0 | 62 | |
802ea3af MT |
63 | package %{name}-devel |
64 | template DEVEL | |
65 | end | |
1f9bc2f0 MT |
66 | |
67 | package %{name}-debuginfo | |
68 | template DEBUGINFO | |
69 | end | |
802ea3af | 70 | end |