From b70981b68efcce5256eb11c6cd26ae123b10b6ea Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Fri, 24 Jul 2009 08:01:31 +0000 Subject: moved extra/* to main/ and fixed misc build issues --- main/ccache/APKBUILD | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 main/ccache/APKBUILD (limited to 'main/ccache/APKBUILD') diff --git a/main/ccache/APKBUILD b/main/ccache/APKBUILD new file mode 100644 index 0000000000..2143bdb728 --- /dev/null +++ b/main/ccache/APKBUILD @@ -0,0 +1,32 @@ +# Maintainer: Natanael Copa +pkgname=ccache +pkgver=2.4 +pkgrel=0 +pkgdesc="ccache is a compiler cache" +url="http://ccache.samba.org/" +license="GPL" +subpackages="$pkgname-doc" +depends="uclibc" +makedepends="" +source="http://samba.org/ftp/$pkgname/$pkgname-$pkgver.tar.gz" + +build () +{ + cd "$srcdir"/$pkgname-$pkgver + ./configure --prefix=/usr + make || return 1 + install -Dm 755 ccache "$pkgdir"/usr/bin/ccache + install -Dm 644 ccache.1 "$pkgdir"/usr/share/man/man1/ccache.1 + mkdir -p "$pkgdir"/usr/lib/ccache/bin + ln -sf /usr/bin/ccache "$pkgdir"/usr/lib/ccache/bin/cc + ln -sf /usr/bin/ccache "$pkgdir"/usr/lib/ccache/bin/gcc + ln -sf /usr/bin/ccache "$pkgdir"/usr/lib/ccache/bin/g++ + ln -sf /usr/bin/ccache "$pkgdir"/usr/lib/ccache/bin/cpp + ln -sf /usr/bin/ccache "$pkgdir"/usr/lib/ccache/bin/c++ + ln -sf /usr/bin/ccache "$pkgdir"/usr/lib/ccache/bin/${CHOST}-cc + ln -sf /usr/bin/ccache "$pkgdir"/usr/lib/ccache/bin/${CHOST}-gcc + ln -sf /usr/bin/ccache "$pkgdir"/usr/lib/ccache/bin/${CHOST}-g++ + ln -sf /usr/bin/ccache "$pkgdir"/usr/lib/ccache/bin/${CHOST}-cpp + ln -sf /usr/bin/ccache "$pkgdir"/usr/lib/ccache/bin/${CHOST}-c++ +} +md5sums="73c1ed1e767c1752dd0f548ec1e66ce7 ccache-2.4.tar.gz" -- cgit v1.2.3