diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2008-11-27 10:00:39 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2008-11-27 10:00:39 +0000 |
commit | d2773581e7cd723b8ff8a78104a6b18ebbaabfc2 (patch) | |
tree | 7e719fb8bf1e9fd3b3be9d470a64a7f3ca886a9a /core/distcc/APKBUILD | |
parent | 61facd2730fe966a48478c815dd2b3676ef70ab1 (diff) | |
download | aports-d2773581e7cd723b8ff8a78104a6b18ebbaabfc2.tar.bz2 aports-d2773581e7cd723b8ff8a78104a6b18ebbaabfc2.tar.xz |
core/distcc: new aport
Diffstat (limited to 'core/distcc/APKBUILD')
-rw-r--r-- | core/distcc/APKBUILD | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/core/distcc/APKBUILD b/core/distcc/APKBUILD new file mode 100644 index 0000000000..e39c0c2e0e --- /dev/null +++ b/core/distcc/APKBUILD @@ -0,0 +1,34 @@ +pkgname=distcc +pkgver=2.18.3 +pkgrel=0 +pkgdesc="A distributed C, C++, Obj C compiler" +url="http://distcc.samba.org" +license="GPL-2" +depends="popt" +makedepends="popt-dev" +source="http://distcc.samba.org/ftp/distcc/distcc-2.18.3.tar.bz2 + distccd.initd distccd.confd" +subpackages="$pkgname-doc" + +build () +{ + cd "$srcdir/$pkgname-$pkgver" + ./configure --prefix=/usr --without-gtk --sysconfdir=/etc + + make || return 1 + make DESTDIR="$pkgdir" install + + install -D -m644 ../distccd.confd "$pkgdir"/etc/conf.d/distccd + install -D -m755 ../distccd.initd "$pkgdir"/etc/init.d/distccd + + local d="$pkgdir/usr/lib/$pkgname/bin" + mkdir -p "$d" + ln -sf /usr/bin/$pkgname "$d"/cc + ln -sf /usr/bin/$pkgname "$d"/gcc + ln -sf /usr/bin/$pkgname "$d"/g++ + ln -sf /usr/bin/$pkgname "$d"/cpp +} + +md5sums="0d6b80a1efc3a3d816c4f4175f63eaa2 distcc-2.18.3.tar.bz2 +059cb5183d10575ccbde11757931c846 distccd.initd +419f2d8e09108bb5947fecfe33c1df64 distccd.confd" |