12345678910111213141516171819 |
- _majorver=${surum%.*}
- make \
- TO_LIB="liblua.a liblua.so liblua.so.$_majorver liblua.so.$surum" \
- INSTALL_DATA='cp -d' \
- INSTALL_TOP="$PKG"/usr \
- INSTALL_MAN="$PKG"/usr/share/man/man1 \
- install
- ln -sf /usr/bin/lua "$PKG"/usr/bin/lua$_majorver
- ln -sf /usr/bin/luac "$PKG"/usr/bin/luac$_majorver
- ln -sf /usr/lib/liblua.so.$surum "$PKG"/usr/lib/liblua$_majorver.so
- install -Dm644 lua.pc "$PKG"/usr/lib/pkgconfig/${isim}53.pc
- ln -sf /usr/lib/pkgconfig/${isim}53.pc "$PKG"/usr/lib/pkgconfig/$isim.pc
- install -Dm644 ../LICENSE "$PKG"/usr/share/licenses/$isim/LICENSE
- rm -r $PKG/usr/share/lua
- rm -r $PKG/usr/lib/lua
|