Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for package in $(grep -v '^#' ../lib-7.md5 | awk '{print $2}')
- do
- packagedir=${package%.tar.?z*}
- echo "Building $packagedir"
- tar -xf $package
- pushd $packagedir
- docdir="--docdir=$XORG_PREFIX/share/doc/$packagedir"
- case $packagedir in
- libXfont2-[0-9]* )
- ./configure $XORG_CONFIG $docdir --disable-devel-docs
- ;;
- libXt-[0-9]* )
- ./configure $XORG_CONFIG $docdir \
- --with-appdefaultdir=/etc/X11/app-defaults
- ;;
- libXpm-[0-9]* )
- ./configure $XORG_CONFIG $docdir --disable-open-zfile
- ;;
- libpciaccess* )
- mkdir build
- cd build
- meson setup --prefix=$XORG_PREFIX --buildtype=release ..
- ninja
- #ninja test
- as_root ninja install
- popd # $packagedir
- continue # for loop
- ;;
- * )
- ./configure $XORG_CONFIG $docdir
- ;;
- esac
- make
- #make check 2>&1 | tee ../$packagedir-make_check.log
- as_root make install
- popd
- rm -rf $packagedir
- as_root /sbin/ldconfig
- done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement