forked from erikkugel/SlackBuilds
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
51 changed files
with
1,183 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
SlackBuilds | ||
=========== | ||
|
||
SlackBuilds for Slackware Linux | ||
|
||
Written and maintained by Ernest Kugel (erik dot kugel at gmail dot com) | ||
|
||
# Why is this here? | ||
Traditional slackbuilds such as SlackBuilds.org are usually for stable software releases and stable Slackware releases. This repository is meant to supplement those: if you'd like to use the latest source code instead, usually directly from srouce controll, or if you need something that works with rolling Slackware release, or if you need something you cannot find through more traditional channels, this is the place for you. | ||
|
||
# What's here? | ||
- Latest VLC built as an HTTP daemon, with a dedicated system user, and with System-V init scripts | ||
- Lua without shared libs, with position independent code (as Lua recommends!). Defaults to version 5.1.5 to support VLC, but was tested to build up to version 5.3.0 as well | ||
- FFmpeg which will install and play nice with VLC | ||
- x264 from source control | ||
- xvidxode from source crontol | ||
- a52 decoder version 0.7.2 with shared libs | ||
- DavMail MS Exchange Gateway client | ||
- HipChat client for Atlassian chat platform | ||
- Adobe Flash Player package builder | ||
- More! | ||
|
||
# Instructions | ||
Normally, you'd only need to run the appropriate Slackbuild file and the rest will be taken care of: you will end up with a package under /tmp you may then install with `installpkg` or `pkgtool` or `slackpkg --install`: | ||
```bash | ||
git clone https://github.com/erikkugel/SlackBuilds.git | ||
cd SlackBuilds/lua | ||
./lua.SlackBuild | ||
installpkg /tmp/lua-5.2.3-x86_64-1.txz | ||
``` | ||
|
||
If you'd like another version, you can normally adjust the `APP_VER` variable. This will not work for SlackBuilds that build the latest source code from a Git repository, such as FFmpeg or VLC. You can identify those easily since by their `APP_VER=latest`, in which case changing the version will only affect the package name, and not much else. | ||
|
||
# To do: | ||
- Consider switching to a classical SlackBuild variable naming convention (use `VERSION` instead of `APP_VER`, etc). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
#!/bin/bash | ||
# | ||
# Ernest Kugel, 2014 | ||
|
||
PRGNAM="a52dec" | ||
VERSION="0.7.4" | ||
APP_URL=http://liba52.sourceforge.net/files/${PRGNAM}-${VERSION}.tar.gz | ||
BUILD_DIR=/tmp/SlackBuild-${PRGNAM}-$(date +%s) | ||
TAG=1 | ||
|
||
set -e | ||
|
||
if [ "$(uname -m)" == "x86_64" ]; then | ||
LIBDIRSUFFIX="64" | ||
export CFLAGS="-fPIC" | ||
else | ||
LIBDIRSUFFIX="" | ||
fi | ||
|
||
# Download | ||
mkdir -v -p ${BUILD_DIR}/install ${BUILD_DIR} ${BUILD_DIR}/src | ||
if ! [ -f ${PRGNAM}-${VERSION}.tar.gz ]; then | ||
wget -q ${APP_URL} | ||
fi | ||
tar -v -x -z -C ${BUILD_DIR}/src -f ./${PRGNAM}-${VERSION}.tar.gz | ||
cp -v -f ./slack-desc ${BUILD_DIR}/install/slack-desc | ||
cp -v -f ./doinst.sh ${BUILD_DIR}/install/doinst.sh | ||
|
||
# Build | ||
cd ${BUILD_DIR}/src/${PRGNAM}-${VERSION} | ||
./configure \ | ||
--prefix=/usr/local \ | ||
--libdir=/usr/local/lib${LIBDIRSUFFIX} \ | ||
--enable-shared \ | ||
--with-pic | ||
|
||
make install DESTDIR=${BUILD_DIR} | ||
cd ${BUILD_DIR} | ||
rm -v -r -f ${BUILD_DIR}/src | ||
|
||
# Create package | ||
/sbin/makepkg -l y -p -c n /tmp/${PRGNAM}-${VERSION}-$(uname -m)-${TAG}.txz | ||
rm -v -r -f ${BUILD_DIR} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
( if [ "$(getconf LONG_BIT)" == "64" ]; then | ||
LIBDIRSUFFIX="64" | ||
else | ||
LIBDIRSUFFIX="" | ||
fi | ||
/sbin/ldconfig -v -n /usr/local/lib${LIBDIRSUFFIX} ) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
a52dec: liba52 | ||
a52dec: | ||
a52dec: liba52 is a free library for decoding ATSC A/52 streams. It is | ||
a52dec: released under the terms of the GPL license. The A/52 standard | ||
a52dec: is used in a variety of applications, including digital television | ||
a52dec: and DVD. It is also known as AC-3. | ||
a52dec: | ||
a52dec: | ||
a52dec: | ||
a52dec: | ||
a52dec: (http://liba52.sourceforge.net/) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
#!/bin/bash | ||
# | ||
# Ernest Kugel, 2014 | ||
|
||
PRGNAM=awscli | ||
VERSION=1.3.18 | ||
APP_URL=https://s3.amazonaws.com/aws-cli/awscli-bundle.zip | ||
BUILD_DIR=/tmp/SlackBuild-${PRGNAM}-$(date +%s) | ||
TAG=1 | ||
|
||
mkdir -v -p ${BUILD_DIR}/install ${BUILD_DIR}/tmp | ||
wget -q ${APP_URL} -O ${BUILD_DIR}/tmp/awscli-bundle.zip | ||
unzip ${BUILD_DIR}/tmp/awscli-bundle.zip -d ${BUILD_DIR}/tmp/ | ||
sed -i 's/' ${BUILD_DIR}/tmp/awscli-bundle/install | ||
${BUILD_DIR}/tmp/awscli-bundle/install -i ${BUILD_DIR}/opt/aws | ||
#rm -v -r -f ${BUILD_DIR}/tmp | ||
cp -v -f ./slack-desc ${BUILD_DIR}/install/slack-desc | ||
cp -v -f ./doinst.sh ${BUILD_DIR}/install/doinst.sh | ||
|
||
|
||
cd ${BUILD_DIR} | ||
/sbin/makepkg -l n -c n /tmp/${PRGNAM}-${VERSION}-$(uname -m)-${TAG}.tgz | ||
|
||
#rm -v -r -f ${BUILD_DIR} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
ln -s -v /opt/aws/bin/aws /usr/local/bin/aws |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
awscli: AWS CLI | ||
awscli: | ||
awscli: Universal Command Line Environment for AWS. | ||
awscli: | ||
awscli: | ||
awscli: | ||
awscli: | ||
awscli: | ||
awscli: | ||
awscli: | ||
awscli: (http://aws.amazon.com/cli/) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
#!/bin/bash | ||
# | ||
# Ernest Kugel, 2014 | ||
|
||
PRGNAM=davmail | ||
VERSION=4.5.0 | ||
APP_BUILD=2292 | ||
APP_URL=http://downloads.sourceforge.net/project/davmail/davmail/${VERSION}/davmail-linux-$(uname -m)-${VERSION}-${APP_BUILD}.tgz | ||
BUILD_DIR=/tmp/SlackBuild-${PRGNAM}-$(date +%s) | ||
TAG=1 | ||
|
||
mkdir -v -p ${BUILD_DIR}/install ${BUILD_DIR}/opt | ||
wget -q -O - ${APP_URL} | tar -v -x -z -C ${BUILD_DIR}/opt -f - | ||
cp -v -f ./slack-desc ${BUILD_DIR}/install/slack-desc | ||
echo "ln -v -s -f /opt/davmail-linux-$(uname -m)-${VERSION}-${APP_BUILD} /opt/davmail; | ||
ln -v -s -f /opt/davmail/davmail.sh /usr/local/bin/davmail.sh" > ${BUILD_DIR}/install/doinst.sh | ||
|
||
cd ${BUILD_DIR} | ||
/sbin/makepkg -l y -c n /tmp/${PRGNAM}-${VERSION}-$(uname -m)-${TAG}.txz | ||
|
||
rm -v -r -f ${BUILD_DIR} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
davmail: DavMail Gateway | ||
davmail: | ||
davmail: DavMail is a POP/IMAP/SMTP/Caldav/Carddav/LDAP exchange gateway | ||
davmail: allowing users to use any mail/calendar client. | ||
davmail: | ||
davmail: | ||
davmail: | ||
davmail: | ||
davmail: | ||
davmail: | ||
davmail: (http://davmail.sourceforge.net/) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
#!/bin/bash | ||
# | ||
# Ernest Kugel, 2014 | ||
|
||
PRGNAM="djmount" | ||
VERSION="0.71" | ||
APP_URL=http://downloads.sourceforge.net/project/${PRGNAM}/${PRGNAM}/${VERSION}/${PRGNAM}-${VERSION}.tar.gz | ||
BUILD_DIR=/tmp/SlackBuild-${PRGNAM}-$(date +%s) | ||
TAG=1 | ||
|
||
# Download | ||
mkdir -v -p ${BUILD_DIR}/install ${BUILD_DIR}/src | ||
wget -q -O - ${APP_URL} | tar -v -x -z -C ${BUILD_DIR}/src -f - | ||
cp -v -f ./slack-desc ${BUILD_DIR}/install/slack-desc | ||
|
||
# Build | ||
cd ${BUILD_DIR}/src/${PRGNAM}-${VERSION} | ||
./configure --prefix=/usr/local | ||
make | ||
make install DESTDIR=${BUILD_DIR} | ||
cd ${BUILD_DIR} | ||
rm -v -r -f ${BUILD_DIR}/src | ||
|
||
# Create package | ||
/sbin/makepkg -l y -c n /tmp/${PRGNAM}-${VERSION}-$(uname -m)-${TAG}.txz | ||
rm -v -r -f ${BUILD_DIR} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
djmount: djmount | ||
djmount: | ||
djmount: djmount is a UPnP AV client. It mounts as a Linux filesystem | ||
djmount: the media content of compatible UPnP AV devices. | ||
djmount: | ||
djmount: | ||
djmount: | ||
djmount: | ||
djmount: | ||
djmount: | ||
djmount: (http://djmount.sourceforge.net/) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
( if [ "$(getconf LONG_BIT)" == "64" ]; then | ||
LIBDIRSUFFIX="64" | ||
else | ||
LIBDIRSUFFIX="" | ||
fi | ||
/sbin/ldconfig -v -n /usr/local/lib${LIBDIRSUFFIX} ) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
#!/bin/bash | ||
# | ||
# Ernest Kugel, 2014 | ||
|
||
PRGNAM="ffmpeg" | ||
VERSION="latest" | ||
APP_URL=git://source.ffmpeg.org/ffmpeg.git | ||
BUILD_DIR=/tmp/SlackBuild-${PRGNAM}-$(date +%s) | ||
TAG=1 | ||
|
||
set -e | ||
|
||
if [ "$(getconf LONG_BIT)" == "64" ]; then | ||
LIBDIRSUFFIX="64" | ||
else | ||
LIBDIRSUFFIX="" | ||
fi | ||
|
||
# Download | ||
if [ -d ./${PRGNAM}/.git ]; then | ||
cd ./${PRGNAM} | ||
git pull | ||
cd .. | ||
else | ||
rm -rf ./${PRGNAM} | ||
git clone ${APP_URL} ${PRGNAM} | ||
fi | ||
|
||
# Prepare | ||
mkdir -v -p ${BUILD_DIR}/install ${BUILD_DIR}/src | ||
cp -v -f ./slack-desc ${BUILD_DIR}/install/slack-desc | ||
cp -v -f ./doinst.sh ${BUILD_DIR}/install/doinst.sh | ||
cp -aRpfv ${PRGNAM} ${BUILD_DIR}/src | ||
|
||
# Build | ||
cd ${BUILD_DIR}/src/${PRGNAM} | ||
chown -Rc root:root . | ||
./configure \ | ||
--prefix=/usr/local \ | ||
--libdir=/usr/local/lib${LIBDIRSUFFIX} \ | ||
--shlibdir=/usr/local/lib${LIBDIRSUFFIX} \ | ||
--enable-shared | ||
|
||
make install -j$(grep -Pc 'processor\t:[0-9]*' /proc/cpuinfo) DESTDIR=${BUILD_DIR} V=99 | ||
cd ${BUILD_DIR} | ||
rm -v -r -f ${BUILD_DIR}/src | ||
|
||
# Create package | ||
/sbin/makepkg -l y -p -c n /tmp/${PRGNAM}-${VERSION}-$(uname -m)-${TAG}.txz | ||
rm -v -r -f ${BUILD_DIR} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
ffmpeg: FFmpeg | ||
ffmpeg: | ||
ffmpeg: A complete, cross-platform solution to record, convert and stream | ||
ffmpeg: audio and video. | ||
ffmpeg: | ||
ffmpeg: | ||
ffmpeg: | ||
ffmpeg: | ||
ffmpeg: | ||
ffmpeg: | ||
ffmpeg: (https://www.ffmpeg.org/) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
#!/bin/bash | ||
# | ||
# Ernest Kugel, 2014 | ||
|
||
PRGNAM=flash_player | ||
BUILD_DIR=/tmp/SlackBuild-${PRGNAM}-$(date +%s) | ||
MOZILLA_PLUGIN_PATH=/usr/lib64/mozilla/plugins | ||
VERSION=11 | ||
TAG=1 | ||
|
||
mkdir -v -p ${BUILD_DIR}/install | ||
|
||
tar -v -x -z -C ${BUILD_DIR} -f ./install_flash_player_${VERSION}_linux.$(uname -m).tar.gz | ||
|
||
mv ${BUILD_DIR}/usr/lib ${BUILD_DIR}/usr/lib64 | ||
mkdir -p ${BUILD_DIR}/${MOZILLA_PLUGIN_PATH} | ||
mv -v -f ${BUILD_DIR}/libflashplayer.so ${BUILD_DIR}/${MOZILLA_PLUGIN_PATH}/ | ||
|
||
cp -v -f ./slack-desc ${BUILD_DIR}/install/slack-desc | ||
|
||
cd ${BUILD_DIR} | ||
chown -R root:root . | ||
makepkg -l y -c n /tmp/${PRGNAM}-${VERSION}-$(uname -m)-${TAG}.txz | ||
rm -r -f ${BUILD_DIR} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
flash_player: Adobe Flash Player | ||
flash_player: | ||
flash_player: Adobe� Flash� Player is a lightweight browser plug-in and rich | ||
flash_player: Internet application runtime that delivers consistent and | ||
flash_player: engaging user experiences, stunning audio/video playback, and | ||
flash_player: exciting gameplay. | ||
flash_player: | ||
flash_player: | ||
flash_player: | ||
flash_player: | ||
flash_player: (http://www.adobe.com/products/flashplayer.html) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
#!/bin/bash | ||
# | ||
# Ernest Kugel, 2014 | ||
|
||
PRGNAM=hipchat | ||
APP_URL=http://downloads.hipchat.com/linux/arch/hipchat-$(uname -m).tar.xz | ||
BUILD_DIR=/tmp/SlackBuild-${PRGNAM}-$(date +%s) | ||
TAG=1 | ||
|
||
mkdir -v -p ${BUILD_DIR}/install | ||
wget -q -O - ${APP_URL} | tar -v -x -J -C ${BUILD_DIR} -f - | ||
cp -v -f ./slack-desc ${BUILD_DIR}/install/slack-desc | ||
|
||
VERSION=$(grep ^pkgver ${BUILD_DIR}/.PKGINFO | sed -e 's/^.*\ =\ //g;s/-.*$//g') | ||
rm -v -f ${BUILD_DIR}/.PKGINFO | ||
|
||
cd ${BUILD_DIR} | ||
makepkg -l y -c n /tmp/${PRGNAM}-${VERSION}-$(uname -m)-${TAG}.txz | ||
|
||
rm -v -r -f ${BUILD_DIR} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
hipchat: HipChat | ||
hipchat: | ||
hipchat: Group chat and IM built for teams | ||
hipchat: | ||
hipchat: | ||
hipchat: | ||
hipchat: | ||
hipchat: | ||
hipchat: | ||
hipchat: | ||
hipchat: (https://www.hipchat.com/) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
#!/bin/bash | ||
# | ||
# Ernest Kugel, 2014 | ||
|
||
PRGNAM="keepassx" | ||
VERSION="2.0" | ||
APP_BUILD="alpha6" | ||
APP_URL="http://www.keepassx.org/dev/attachments/download/69/${PRGNAM}-${VERSION}-${APP_BUILD}.tar.gz" | ||
BUILD_DIR="/tmp/SlackBuild-${PRGNAM}-$(date +%s)" | ||
TAG="${APP_BUILD}" | ||
|
||
# Download | ||
mkdir -v -p ${BUILD_DIR}/install ${BUILD_DIR}/build ${BUILD_DIR}/src | ||
wget -q -O - ${APP_URL} | tar -v -x -z -C ${BUILD_DIR}/src -f - | ||
cp -v -f ./slack-desc ${BUILD_DIR}/install/slack-desc | ||
|
||
# Build | ||
mkdir ${BUILD_DIR}/src/${PRGNAM}-${VERSION}-${APP_BUILD}/build | ||
cd ${BUILD_DIR}/src/${PRGNAM}-${VERSION}-${APP_BUILD}/build | ||
cmake .. -DCMAKE_INSTALL_PREFIX=/usr/local | ||
make | ||
make install DESTDIR=${BUILD_DIR} | ||
|
||
cd ${BUILD_DIR} | ||
rm -v -r -f ${BUILD_DIR}/build ${BUILD_DIR}/src | ||
|
||
# Create package | ||
/sbin/makepkg -l y -c n /tmp/${PRGNAM}-${VERSION}-$(uname -m)-${TAG}.txz | ||
rm -v -r -f ${BUILD_DIR} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
keepassx: KeePassX | ||
keepassx: | ||
keepassx: KeePassX is an application for people with extremly high demands on | ||
keepassx: secure personal data management. It has a light interface, is cross | ||
keepassx: platform and published under the terms of the GNU General Public | ||
keepassx: License. | ||
keepassx: | ||
keepassx: | ||
keepassx: | ||
keepassx: | ||
keepassx: (http://www.keepassx.org/) |
Oops, something went wrong.