pakur.sh 485 B

1234567891011121314151617
  1. export _stagedir="${SRC}/stagedir"
  2. install -dm755 "${PKG}"/usr
  3. cp -a "${_stagedir}"/{bin,include,share} "${PKG}"/usr
  4. cp -a "${_stagedir}"/lib "${PKG}"/usr
  5. ln -s /usr/bin/b2 "$PKG"/usr/bin/bjam
  6. install -d "${PKG}/usr/lib/python3.9/site-packages/boost"
  7. touch "${PKG}/usr/lib/python3.9/site-packages/boost/__init__.py"
  8. python -m compileall -o 0 -o 1 -o 2 "${PKG}/usr/lib/python3.9/site-packages/boost"
  9. ln -srL "${PKG}"/usr/lib/libboostpython3{9,}.so
  10. rm -rf $PKG/usr/share/boostbook