25 lines
475 B
Plaintext
25 lines
475 B
Plaintext
|
# Tanım: LLVM linker
|
|||
|
# URL: http://llvm.org/
|
|||
|
# Paketçi: milisarge
|
|||
|
# Gerekler: llvm cmake
|
|||
|
|
|||
|
isim=lld
|
|||
|
surum=4.0.0
|
|||
|
devir=1
|
|||
|
kaynak=(http://releases.llvm.org/$surum/lld-$surum.src.tar.xz)
|
|||
|
|
|||
|
derle() {
|
|||
|
|
|||
|
cd $isim-$surum.src
|
|||
|
mkdir build
|
|||
|
cd build
|
|||
|
cmake ../
|
|||
|
make -C tools/lld DESTDIR=$PKG install
|
|||
|
cd lib
|
|||
|
install -d $PKG/usr/lib/
|
|||
|
cp *.a $PKG/usr/lib/
|
|||
|
cp -r $SRC/$isim-$surum.src/include $PKG/usr/
|
|||
|
mv $PKG/usr/local/* $PKG/usr/
|
|||
|
rm -r $PKG/usr/local
|
|||
|
}
|