|
|
|
@ -1,6 +1,6 @@
|
|
|
|
|
#!/bin/bash |
|
|
|
|
# Build script for Slackware |
|
|
|
|
# Copyright (C) 2018 Damien Goutte-Gattat |
|
|
|
|
# Copyright (C) 2018,2019 Damien Goutte-Gattat |
|
|
|
|
# |
|
|
|
|
# Redistribution and use of this script, with or without modifications, |
|
|
|
|
# is permitted provided that the following conditions are met: |
|
|
|
@ -25,11 +25,11 @@
|
|
|
|
|
# Latest efl sourcecode is available at: |
|
|
|
|
# <https://www.enlightenment.org/>. |
|
|
|
|
# |
|
|
|
|
# Depends: d/luajit, l/bullet3 |
|
|
|
|
# Depends: d/luajit |
|
|
|
|
|
|
|
|
|
# Source package infos |
|
|
|
|
NAMESRC=${NAMESRC:-efl} |
|
|
|
|
VERSION=${VERSION:-1.20.7} |
|
|
|
|
VERSION=${VERSION:-1.23.3} |
|
|
|
|
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.xz} |
|
|
|
|
WGET=${WGET:-https://download.enlightenment.org/rel/libs/efl/$ARCHIVE} |
|
|
|
|
|
|
|
|
@ -74,19 +74,21 @@ cd $TMP
|
|
|
|
|
echo "Building $ARCHIVE..." |
|
|
|
|
tar xf $CWD/$ARCHIVE |
|
|
|
|
cd $NAME |
|
|
|
|
./configure \ |
|
|
|
|
--prefix=/usr \ |
|
|
|
|
--libdir=/usr/lib$LIBDIRSUFFIX \ |
|
|
|
|
--disable-systemd \ |
|
|
|
|
--disable-static \ |
|
|
|
|
--disable-dependency-tracking \ |
|
|
|
|
--build=$ARCH-slackware-linux |
|
|
|
|
make -j $JOBS |
|
|
|
|
make install-strip DESTDIR=$PKG || true |
|
|
|
|
meson \ |
|
|
|
|
--prefix /usr \ |
|
|
|
|
--mandir /usr/man \ |
|
|
|
|
--strip \ |
|
|
|
|
-Dsystemd=false \ |
|
|
|
|
-Decore-imf-loaders-disabler=ibus \ |
|
|
|
|
-Dphysics=false \ |
|
|
|
|
-Dbuild-tests=false \ |
|
|
|
|
build . |
|
|
|
|
ninja -C $JOBS -C build |
|
|
|
|
DESTDIR=$PKG ninja -C build install |
|
|
|
|
|
|
|
|
|
# Install the documentation |
|
|
|
|
mkdir -p $PKG/usr/doc/$NAME |
|
|
|
|
install -m 644 AUTHORS COMPLIANCE COPYING ChangeLog NEWS README \ |
|
|
|
|
install -m 644 AUTHORS COMPLIANCE COPYING* ChangeLog NEWS README \ |
|
|
|
|
$PKG/usr/doc/$NAME |
|
|
|
|
|
|
|
|
|
# Copy slack-desc and doinst.sh files |
|
|
|
@ -96,7 +98,6 @@ install -m 755 $CWD/doinst.sh $PKG/install/doinst.sh
|
|
|
|
|
# Add dependency infos |
|
|
|
|
cat <<EOF > $PKG/install/slack-required |
|
|
|
|
luajit |
|
|
|
|
bullet3 |
|
|
|
|
EOF |
|
|
|
|
|
|
|
|
|
# Package the tree |
|
|
|
|