aboutsummaryrefslogblamecommitdiffstats
path: root/community/pcc-libs/APKBUILD
blob: 0dd3190a398173f24562157e16f59bb5771a287c (plain) (tree)
1
2
3
4
5
6
7
8
9
                                                              
                                                             
                

               



                                                    
                          
                                                               
                         
 
           

                         


         





                                         

                                    


           
                                      

 
            
                                                                                                                                                       
                                                                                                                                                  
 
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Maintainer: Sören Tempel <soeren+alpine@soeren-tempel.net>
pkgname=pcc-libs
pkgver=20210917
pkgrel=0
pkgdesc="The portable C compiler support libraries."
url="http://pcc.ludd.ltu.se/"
arch="x86 x86_64"
license="BSD"
subpackages="$pkgname-dev"
source="ftp://pcc.ludd.ltu.se/pub/pcc-libs/pcc-libs-$pkgver.tgz
	musl-fixes.patch"

prepare() {
	default_prepare
	update_config_sub
}

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="
5abe803490bd65a5e3a5577c4888f641003b7b268aac560422904119e4b53507833d3fa5360205f98346615c8620eb00ad930dd25833a63d34d4d62d5710e1b5  pcc-libs-20210917.tgz
fd8c71cd583c6be29553f2b7e6ce66073afd6d0406ae86f6fbb6a36efe8685be4732d2989180a9b31af734cc9a0973c1c731472f02bad076121f6c3c58391fc4  musl-fixes.patch
"