bc findutils
This commit is contained in:
1 parent
3ce24f2732
commit
5746a40567
4 files changed
+76
-3
No files matched your search
@@ -0,0 +1,32 @@
|
||||
#!/usr/bin/env bash
|
||||
name='findutils'
|
||||
release='1'
|
||||
version='4.9.0'
|
||||
url='https://ftp.gnu.org/gnu/findutils/'
|
||||
description='GNU utilities for finding files'
|
||||
email='aliriza.keskin@pardus.org.tr'
|
||||
maintainer='aliriza'
|
||||
license=('GPLv3')
|
||||
source=("https://ftp.gnu.org/gnu/findutils/findutils-$version.tar.xz")
|
||||
depends=()
|
||||
makedepends=()
|
||||
md5sums=('4a4a547e888a944b2f3af31d789a1137')
|
||||
uses=()
|
||||
group=(sys.apps)
|
||||
arch=('x86_64')
|
||||
|
||||
cd $name-$version
|
||||
|
||||
setup(){
|
||||
./configure --prefix=/usr \
|
||||
--libdir=/usr/lib64/
|
||||
}
|
||||
|
||||
build(){
|
||||
make -j`nproc`
|
||||
}
|
||||
|
||||
package(){
|
||||
make install -j`nproc`
|
||||
}
|
||||
|
||||
@@ -107,7 +107,7 @@ package(){
|
||||
install ../ld.so.conf ${DESTDIR}/etc/ld.so.conf
|
||||
install ../usr-support.conf ${DESTDIR}/etc/ld.so.conf.d/
|
||||
install ../x86_64-linux-gnu.conf ${DESTDIR}/etc/ld.so.conf.d/
|
||||
# remove ld.so.cache file (this file must generated by ldconfig command from inary)
|
||||
# remove ld.so.cache file (this file must generated by ldconfig command from ymp)
|
||||
rm -f ${DESTDIR}/etc/ld.so.cache
|
||||
# install sysconf trigger
|
||||
install ../glibc.sysconf ${DESTDIR}/etc/sysconf.d/glibc
|
||||
|
||||
@@ -0,0 +1,43 @@
|
||||
#!/usr/bin/env bash
|
||||
name='bc'
|
||||
release='1'
|
||||
version='1.07'
|
||||
url='https://ftp.gnu.org/gnu/bc/'
|
||||
description='Handy console-based calculator utility'
|
||||
email='aliriza.keskin@pardus.org.tr'
|
||||
maintainer='aliriza'
|
||||
license=('GPLv3')
|
||||
source=("https://ftp.gnu.org/gnu/bc/bc-$version.tar.gz"
|
||||
"https://gitweb.gentoo.org/repo/gentoo.git/plain/sys-devel/bc/files/bc-1.07.1-no-ed-its-sed.patch")
|
||||
depends=()
|
||||
makedepends=()
|
||||
md5sums=('e91638a947beadabf4d7770bdbb3d512'
|
||||
'a7bdd642f30ae47ee5bcbcf3f65e061b')
|
||||
group=(sys.devel)
|
||||
uses=()
|
||||
uses_extra=(static)
|
||||
arch=('x86_64')
|
||||
|
||||
cd $name-$version
|
||||
|
||||
if use static ; then
|
||||
export CFLAGS="-static"
|
||||
fi
|
||||
|
||||
prepare(){
|
||||
patch -Np1 -i ../bc-1.07.1-no-ed-its-sed.patch
|
||||
}
|
||||
|
||||
setup(){
|
||||
./configure --prefix=/usr \
|
||||
--libdir=/usr/lib64/
|
||||
}
|
||||
|
||||
build(){
|
||||
make
|
||||
}
|
||||
|
||||
package(){
|
||||
make install -j`nproc`
|
||||
}
|
||||
|
||||
@@ -74,7 +74,5 @@ package(){
|
||||
fi
|
||||
ln -s gcc ${DESTDIR}/usr/bin/cc
|
||||
ln -s g++ ${DESTDIR}/usr/bin/cxx
|
||||
mkdir -p ${DESTDIR}/lib64/cpp
|
||||
ln -s ../usr/bin/cpp ${DESTDIR}/lib64/cpp
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user