36 lines
No EOL
855 B
Text
36 lines
No EOL
855 B
Text
# Maintainer: PktSurf <smlinux@pktsurf.in>
|
|
app=spirv-headers
|
|
version=1.2
|
|
build=1sml
|
|
hash="e867c06631767a2d96424cbec530f9ee5e78180f"
|
|
homepage="https://xorg.freedesktop.org/"
|
|
download="https://xorg.freedesktop.org/releases/individual/lib/libICE-$version.tar.bz2"
|
|
desc="X11 Inter-Client Exchange library"
|
|
requires="xorgproto xorg-macros xtrans"
|
|
|
|
prepbuilddir() {
|
|
mkandenterbuilddir
|
|
rm -rf $app-$version
|
|
|
|
tar xf $srcdir/$app-$version.tar.?z*
|
|
cd $app-$version
|
|
fixbuilddirpermissions
|
|
}
|
|
|
|
build() {
|
|
mkdir -p smbuild && cd smbuild
|
|
cmake .. \
|
|
-DCMAKE_BUILD_TYPE=None \
|
|
-DCMAKE_INSTALL_PREFIX=/usr
|
|
|
|
make
|
|
make install DESTDIR=$pkg
|
|
|
|
cp ../LICENSE* $pkgdocs/
|
|
|
|
mkfinalpkg
|
|
}
|
|
|
|
sha512sums="
|
|
bd743dd22e698ece6897acbe6b55511ec1403102e418a52a5663a9d9197989780d4f16d7694764645d444d7252c6ad9e46bae6fa283222a1f926e186ad993d5a spirv-headers-1.2.tar.lz
|
|
" |