Files
binary-repo/sys/apps/coreutils/ympbuild
T

42 lines
960 B
Bash

#!/usr/bin/env bash
name='coreutils'
release='2'
version='9.3'
url='https://ftp.gnu.org/gnu/coreutils/'
description='The basic file, shell and text manipulation utilities of the GNU operating system'
email='aliriza.keskin@pardus.org.tr'
maintainer='aliriza'
license=('GPLv3')
source=("https://ftp.gnu.org/gnu/coreutils/coreutils-$version.tar.xz")
depends=(acl attr gmp libcap)
makedepends=( )
md5sums=('040b4b7acaf89499834bfc79609af29f')
uses=(openssl)
openssl_depends=(openssl)
arch=('x86_64')
group=(sys.apps)
cd $name-$version
export CFLAGS='-static-libgcc -static-libstdc++ -fPIC'
setup(){
./configure --prefix=/usr \
--libdir=/usr/lib64 \
--libexecdir=/usr/libexec \
--enable-largefile \
--enable-single-binary=symlinks \
--enable-no-install-program=groups,hostname,kill,uptime \
$(use_opt openssl --with-openssl --without-openssl)
}
build(){
make $jobs
}
package(){
make install $jobs
}