summaryrefslogtreecommitdiff
path: root/repo/system/lua.xibuild
diff options
context:
space:
mode:
Diffstat (limited to 'repo/system/lua.xibuild')
-rw-r--r--repo/system/lua.xibuild23
1 files changed, 12 insertions, 11 deletions
diff --git a/repo/system/lua.xibuild b/repo/system/lua.xibuild
index 6a9d521..c8c992f 100644
--- a/repo/system/lua.xibuild
+++ b/repo/system/lua.xibuild
@@ -43,16 +43,17 @@ build () {
}
package () {
- make install
make INSTALL_TOP=/usr \
- DESTDIR=$PKG_DEST \
- INSTALL_DATA="cp -d" \
- INSTALL_MAN=/usr/share/man/man1 \
- TO_LIB="liblua.so liblua.so.${PKG_VER} liblua.so.5.4.4" \
- install &&
-
- mkdir -pv $PKG_DEST/usr/share/doc/lua-$PKG_VER &&
- cp -v doc/*.{html,css,gif,png} $PKG_DEST/usr/share/doc/lua-$PKG_VER &&
-
- install -v -m644 -D lua.pc $PKG_DEST/usr/lib/pkgconfig/lua.pc
+ DESTDIR=$PKG_DEST \
+ INSTALL="install" \
+ INSTALL_MAN=/usr/share/man/man1 \
+ TO_LIB="liblua.so liblua.so.${PKG_VER} liblua.so.5.4.4" \
+ install &&
+
+ mkdir -p $PKG_DEST/usr/share/doc/lua-$PKG_VER &&
+ for s in html css gif png; do
+ cp doc/*.$s $PKG_DEST/usr/share/doc/lua-$PKG_VER
+ done
+
+ install -m644 -D lua.pc $PKG_DEST/usr/lib/pkgconfig/lua.pc
}