You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
1.3 KiB
36 lines
1.3 KiB
# --- SDE-COPYRIGHT-NOTE-BEGIN --- |
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|
# |
|
# Filename: package/.../tar/tar.conf |
|
# Copyright (C) 2007 - 2011 The OpenSDE Project |
|
# Copyright (C) 2004 - 2006 The T2 SDE Project |
|
# Copyright (C) 1998 - 2003 Clifford Wolf |
|
# |
|
# More information can be found in the files COPYING and README. |
|
# |
|
# This program is free software; you can redistribute it and/or modify |
|
# it under the terms of the GNU General Public License as published by |
|
# the Free Software Foundation; version 2 of the License. A copy of the |
|
# GNU General Public License can be found in the file COPYING. |
|
# --- SDE-COPYRIGHT-NOTE-END --- |
|
|
|
# tar people do not like running configure as root now so they implemented |
|
# a check that can be bypassed by setting FORCE_UNSAFE_CONFIGURE=1 in the |
|
# environment |
|
var_insert configscript ' ' "FORCE_UNSAFE_CONFIGURE=1" |
|
|
|
var_append confopt ' ' '-C' |
|
|
|
atstage cross && var_append configcache ' ' "ac_cv_c_restrict=__restrict" |
|
|
|
if ! atstage toolchain; then |
|
hook_add postmake 5 "mv -v $root/usr/bin/tar $root/bin/tar ; \ |
|
install -m 0644 -o root -g root ${builddir}/$pkg-$ver/tar.1 $root/usr/man/man1/" |
|
|
|
# put 'rmt' into sbin directory |
|
var_append extraconfopt ' ' '--libexecdir=$sbindir' |
|
fi |
|
|
|
# we never want this file |
|
var_append INSTALL_WRAPPER_FILTER "|" "sed -e 's,.*/lib/charset.alias,/tmp/x,'" |
|
|
|
|