summaryrefslogblamecommitdiff
path: root/user/efivar/APKBUILD
blob: 0dc28e0be01d66ea83bd8d6312f5d87a4f4c4b07 (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 ia64"
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
fe067cd910c66b7e0defc7b8dba5e0169c153ff4599936ad0bf47f669ceeef9e85dd4b30bd79228f0cd67e230e85d94365dbf6dfbfbbf605506e1d5ec51b1dda  0001-makeguids-Ensure-compatibility-with-other-libcs.patch
1a1dfd66a5b613167eeedafe3f2728a0e644cb89860c3dad5955cbaba254ecde617e05d969eeac50be443d090136cbfec626f878f49eea2458b6b8ca17287bd4  fix-musl-build.patch"