Files
binary-repo/sys/devel/libtool/ympbuild
T
2022-12-06 08:08:19 +00:00

35 lines
714 B
Bash
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
#!/usr/bin/env bash
name='libtool'
release='1'
version='2.4.6'
url='https://www.gnu.org/software/libtool/'
description='GNU Libtool - The GNU Portable Library Tool'
email='aliriza.keskin@pardus.org.tr'
maintainer='aliriza'
license=('GPLv3')
source=("https://ftpmirror.gnu.org/libtool/libtool-$version.tar.gz")
depends=( )
makedepends=( )
md5sums=('addf44b646ddb4e3919805aa88fa7c5e')
uses=()
arch=('x86_64')
group=(sys.devel)
cd $name-$version
setup(){
./configure --prefix=/usr \
--libdir=/usr/lib64/libtool
}
build(){
make -j`nproc`
}
package(){
make install -j`nproc`
mkdir -p ${DESTDIR}/etc/ld.so.conf.d/
echo "/usr/lib64/libtool/" > ${DESTDIR}/etc/ld.so.conf.d/libtool.conf
}