]>
Commit | Line | Data |
---|---|---|
166a6c21 MT |
1 | ############################################################################### |
2 | # # | |
3 | # IPFire.org - A linux based firewall # | |
4 | # Copyright (C) 2007, 2008 Michael Tremer & Christian Schmidt # | |
5 | # # | |
6 | # This program is free software: you can redistribute it and/or modify # | |
7 | # it under the terms of the GNU General Public License as published by # | |
8 | # the Free Software Foundation, either version 3 of the License, or # | |
9 | # (at your option) any later version. # | |
10 | # # | |
11 | # This program is distributed in the hope that it will be useful, # | |
12 | # but WITHOUT ANY WARRANTY; without even the implied warranty of # | |
13 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # | |
14 | # GNU General Public License for more details. # | |
15 | # # | |
16 | # You should have received a copy of the GNU General Public License # | |
17 | # along with this program. If not, see <http://www.gnu.org/licenses/>. # | |
18 | # # | |
19 | ############################################################################### | |
20 | ||
21 | ############################################################################### | |
22 | # Definitions | |
23 | ############################################################################### | |
24 | ||
a7c97434 | 25 | include $(PKGROOT)/Include |
166a6c21 MT |
26 | |
27 | PKG_NAME = tar | |
9f0833cd | 28 | PKG_VER = 1.23 |
77eff67b | 29 | PKG_REL = 2 |
166a6c21 MT |
30 | |
31 | PKG_MAINTAINER = | |
32 | PKG_GROUP = System/Packaging | |
33 | PKG_URL = http://www.gnu.org/software/tar/ | |
34 | PKG_LICENSE = GPLv3+ | |
35 | PKG_SUMMARY = A GNU file archiving program. | |
36 | ||
2d922811 | 37 | PKG_BUILD_DEPS+= autoconf automake libacl-devel libattr-devel libselinux-devel |
166a6c21 MT |
38 | |
39 | define PKG_DESCRIPTION | |
40 | The GNU tar program saves many files together in one archive \ | |
41 | and can restore individual files (or all of the files) from \ | |
42 | that archive. Tar can also be used to add supplemental files \ | |
43 | to an archive and to update or list files in the archive. Tar \ | |
44 | includes multivolume support,automatic archive \ | |
45 | compression/decompression, the ability to perform remote archives, \ | |
46 | and the ability to perform incremental and full backups. | |
47 | endef | |
48 | ||
9f0833cd | 49 | PKG_TARBALL = $(THISAPP).tar.gz |
166a6c21 | 50 | |
a167c52e | 51 | CONFIGURE_ENVIRONMENT = CC="gcc -std=gnu99 -fgnu89-inline" |
166a6c21 | 52 | |
a167c52e SS |
53 | CONFIGURE_OPTIONS += \ |
54 | --bindir=/bin \ | |
77eff67b SS |
55 | --libexecdir=/usr/sbin \ |
56 | --enable-selinux | |
e7a5bed3 | 57 | |
3300f6e5 MT |
58 | define STAGE_PREPARE_CMDS |
59 | cd $(DIR_APP) && sed -i /SIGPIPE/d src/tar.c | |
60 | endef | |
61 | ||
39b5c958 SS |
62 | define STAGE_TEST |
63 | cd $(DIR_APP) && sed -i '35 i AT_UNPRIVILEGED_PREREQ' tests/remfiles01.at | |
64 | cd $(DIR_APP) && make check | |
65 | endef |