diff options
author | Eric Hameleers <alien@slackware.com> | 2018-04-19 22:14:56 +0200 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2018-04-19 22:14:56 +0200 |
commit | dcf63056cf8a70c7077cf8006df184835f2c116c (patch) | |
tree | d2412a18ab09fe6f5dd6e98b92844100de078d6b /deps/mlt | |
parent | a28662bc0ddbd0230f2611fb47b53fc27d6d284c (diff) | |
download | ktown-dcf63056cf8a70c7077cf8006df184835f2c116c.tar.gz ktown-dcf63056cf8a70c7077cf8006df184835f2c116c.tar.xz |
deps: sync mlt and qt5 with the new SlackBuild template of Slackware
Diffstat (limited to 'deps/mlt')
-rwxr-xr-x | deps/mlt/mlt.SlackBuild | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/deps/mlt/mlt.SlackBuild b/deps/mlt/mlt.SlackBuild index b478645..fe52608 100755 --- a/deps/mlt/mlt.SlackBuild +++ b/deps/mlt/mlt.SlackBuild @@ -24,13 +24,14 @@ # ----------------------------------------------------------------------------- +cd $(dirname $0) ; CWD=$(pwd) + PKGNAM=mlt VERSION=${VERSION:-6.6.0} BUILD=${BUILD:-1} PYTHONSITEPKG=$(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()") -CWD=$(pwd) TMP=${TMP:-/tmp} PKG=$TMP/package-$PKGNAM @@ -45,6 +46,14 @@ if [ -z "$ARCH" ]; then export ARCH fi +# If the variable PRINT_PACKAGE_NAME is set, then this script will report what +# the name of the created package would be, and then exit. This information +# could be useful to other scripts. +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PKGNAM-${VERSION}-${ARCH}-${BUILD}.txz" + exit 0 +fi + if [ "$ARCH" = "i586" ]; then SLKCFLAGS="-O2 -march=i586 -mtune=i686" SLKLDFLAGS="" |