comparison graphics/mesa/mesa.sh @ 606:25cecc6dca48

vanilla: use POSIX shell and busybox tar
author David Demelier <markand@malikania.fr>
date Thu, 18 Jul 2019 07:26:43 +0200
parents 705beca72ba0
children d13cafd27a68
comparison
equal deleted inserted replaced
605:860ab66f5f71 606:25cecc6dca48
64 with_glx="-D glx=disabled" 64 with_glx="-D glx=disabled"
65 fi 65 fi
66 66
67 build() 67 build()
68 { 68 {
69 #rm -rf $PKGNAME-$PKGVERSION 69 rm -rf $PKGNAME-$PKGVERSION
70 #tar xvaf $PKGNAME-$PKGVERSION.tar.xz 70 tar xvf $PKGNAME-$PKGVERSION.tar.xz
71 pushd $PKGNAME-$PKGVERSION 71 cd $PKGNAME-$PKGVERSION
72 72
73 patch -p0 < ../disable-tls.patch 73 patch -p0 < ../disable-tls.patch
74 # https://git.alpinelinux.org/aports/plain/main/mesa/musl-fix-includes.patch 74 # https://git.alpinelinux.org/aports/plain/main/mesa/musl-fix-includes.patch
75 patch -p1 < ../musl.patch 75 patch -p1 < ../musl.patch
76 CC="$CC" \ 76 CC="$CC" \
93 $with_glx \ 93 $with_glx \
94 . build 94 . build
95 ninja -C build 95 ninja -C build
96 DESTDIR=$DESTDIR ninja -C build install 96 DESTDIR=$DESTDIR ninja -C build install
97 97
98 popd 98 cd ..
99 #rm -rf $PKGNAME-$PKGVERSION 99 rm -rf $PKGNAME-$PKGVERSION
100 } 100 }
101 101