milis/talimatname/genel/l/lld/talimat

25 lines
475 B
Plaintext
Raw Normal View History

2017-10-27 20:46:27 +02:00
# Tanım: LLVM linker
2017-06-19 07:58:44 +02:00
# URL: http://llvm.org/
2017-10-27 20:46:27 +02:00
# Paketçi: milisarge
# Gerekler: llvm cmake
2017-06-19 07:58:44 +02:00
2017-10-28 14:10:23 +02:00
isim=lld
surum=4.0.0
devir=1
kaynak=(http://releases.llvm.org/$surum/lld-$surum.src.tar.xz)
2017-06-19 07:58:44 +02:00
2017-10-27 23:59:41 +02:00
derle() {
2017-06-19 07:58:44 +02:00
2017-10-28 14:10:23 +02:00
cd $isim-$surum.src
2017-06-19 07:58:44 +02:00
mkdir build
cd build
cmake ../
make -C tools/lld DESTDIR=$PKG install
cd lib
install -d $PKG/usr/lib/
cp *.a $PKG/usr/lib/
2017-10-28 14:10:23 +02:00
cp -r $SRC/$isim-$surum.src/include $PKG/usr/
2017-06-19 07:58:44 +02:00
mv $PKG/usr/local/* $PKG/usr/
rm -r $PKG/usr/local
}