milis/talimatname/genel/c/ccache/talimat

32 lines
1.1 KiB
Plaintext
Raw Normal View History

2017-10-27 20:46:27 +02:00
# Tanım: bir önbellek derleyicisi
2017-05-15 16:20:06 +02:00
# URL: http://ccache.samba.org/
2017-10-27 20:46:27 +02:00
# Paketçi: milisarge
# Gerekler:
2017-12-24 00:47:53 +01:00
# Grup: sistem
2017-05-15 16:20:06 +02:00
2017-10-28 14:10:23 +02:00
isim=ccache
surum=3.3.4
devir=1
kaynak=(http://samba.org/ftp/ccache/ccache-$surum.tar.xz)
2017-05-15 16:20:06 +02:00
2017-10-27 23:59:41 +02:00
derle() {
2017-10-28 14:10:23 +02:00
cd ${SRC}/${isim}-${surum}
2017-05-15 16:20:06 +02:00
./configure --prefix=/usr \
--sysconfdir=/etc
make
2017-10-28 14:10:23 +02:00
cd ${SRC}/${isim}-${surum}
2017-05-15 16:20:06 +02:00
install -Dm 755 ccache ${PKG}/usr/bin/ccache
install -Dm 644 ccache.1 ${PKG}/usr/share/man/man1/ccache.1
install -d ${PKG}/usr/lib/ccache/bin
ln -sf /usr/bin/ccache ${PKG}/usr/lib/ccache/bin/cc
ln -sf /usr/bin/ccache ${PKG}/usr/lib/ccache/bin/gcc
ln -sf /usr/bin/ccache ${PKG}/usr/lib/ccache/bin/g++
ln -sf /usr/bin/ccache ${PKG}/usr/lib/ccache/bin/cpp
ln -sf /usr/bin/ccache ${PKG}/usr/lib/ccache/bin/c++
ln -sf /usr/bin/ccache ${PKG}/usr/lib/ccache/bin/${CHOST}-cc
ln -sf /usr/bin/ccache ${PKG}/usr/lib/ccache/bin/${CHOST}-gcc
ln -sf /usr/bin/ccache ${PKG}/usr/lib/ccache/bin/${CHOST}-g++
ln -sf /usr/bin/ccache ${PKG}/usr/lib/ccache/bin/${CHOST}-cpp
ln -sf /usr/bin/ccache ${PKG}/usr/lib/ccache/bin/${CHOST}-c++
}