lots of moving
This commit is contained in:
parent
e46f5d532a
commit
31d9629111
46 changed files with 0 additions and 0 deletions
35
extra/distcc/build.sh
Normal file
35
extra/distcc/build.sh
Normal file
|
@ -0,0 +1,35 @@
|
|||
pkgname=distcc
|
||||
pkgver=3.3.5
|
||||
bad="gmake"
|
||||
|
||||
fetch() {
|
||||
curl -L "https://github.com/distcc/distcc/releases/download/v$pkgver/distcc-$pkgver.tar.gz" -o $pkgname-$pkgver.tar.xz
|
||||
tar -xf $pkgname-$pkgver.tar.xz
|
||||
}
|
||||
|
||||
build() {
|
||||
cd $pkgname-$pkgver
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--build=x86_64-unknown-linux-musl \
|
||||
--host=x86_64-unknown-linux-musl \
|
||||
--without-libiberty
|
||||
|
||||
gmake
|
||||
}
|
||||
|
||||
package() {
|
||||
cd $pkgname-$pkgver
|
||||
gmake install DESTDIR=$pkgdir
|
||||
|
||||
install -d $pkgdir/usr/lib/distcc
|
||||
ln -sr $pkgdir/usr/bin/distcc $pkgdir/usr/lib/distcc/cc
|
||||
ln -sr $pkgdir/usr/bin/distcc $pkgdir/usr/lib/distcc/c89
|
||||
ln -sr $pkgdir/usr/bin/distcc $pkgdir/usr/lib/distcc/c99
|
||||
ln -sr $pkgdir/usr/bin/distcc $pkgdir/usr/lib/distcc/c++
|
||||
}
|
||||
|
||||
license() {
|
||||
cd $pkgname-$pkgver
|
||||
cat COPYING
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue