summaryrefslogblamecommitdiff
path: root/user/efivar/APKBUILD
blob: 616c96a933b55cf5f6230659040c8807ec2dd11d (plain) (tree)
1
2
3
4
5
6
7
8
9
10


                                                  
         


                                                       
                                

                                                                                             

                      
                                 


                                                                                             
                            


         



                                            


                                                                      


                                                                                                                                                                                            
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=efivar
pkgver=38
pkgrel=0
pkgdesc="Tools and library to manipulate EFI variables"
url="https://github.com/rhboot/efivar"
arch="pmmx x86_64 aarch64 armv7"
options="!check"  # "WARNING: You should probably not run tests /ever/.  This is not a joke."
license="LGPL-2.1+"
depends=""
depends_dev="popt-dev"
makedepends="$depends_dev mandoc"
subpackages="$pkgname-dev $pkgname-doc"
source="https://github.com/rhboot/$pkgname/releases/download/$pkgver/$pkgname-$pkgver.tar.bz2
	0001-makeguids-Ensure-compatibility-with-other-libcs.patch
	fix-musl-build.patch
	"

build() {
	make prefix="/usr" libdir="/usr/lib"
}

package() {
	make DESTDIR="$pkgdir" prefix="/usr" libdir="/usr/lib" install
}

sha512sums="c2f17297c863ece134a9dd758d237fd2df8c8d072f87af1d0bf2bcf9acfc7a53c25597f03fd4fb8cc664b205743d4ffa0ef1b068d0f73c58fa573d40993f3155  efivar-38.tar.bz2
623cc065c7e6a91d668b3ce77ec2d1870e0bf58970219ce7be176f4981005b2f5821d4134d454b5fb09278d160cc79afe3be19ed04d832092f77656c1341cc08  0001-makeguids-Ensure-compatibility-with-other-libcs.patch
1a1dfd66a5b613167eeedafe3f2728a0e644cb89860c3dad5955cbaba254ecde617e05d969eeac50be443d090136cbfec626f878f49eea2458b6b8ca17287bd4  fix-musl-build.patch"