diff options
Diffstat (limited to 'www')
-rwxr-xr-x | www/cclive/cclive.build | 61 | ||||
-rwxr-xr-x | www/elinks/elinks.build | 78 | ||||
-rwxr-xr-x | www/firefox/firefox.build | 80 | ||||
-rw-r--r-- | www/flash_plugin/flash_plugin-11.2.202.400-xfcesettings.patch.xz | bin | 0 -> 368 bytes | |||
-rwxr-xr-x | www/flash_plugin/flash_plugin.build | 62 | ||||
-rwxr-xr-x | www/google_chrome/google_chrome.build | 66 | ||||
-rwxr-xr-x | www/google_talkplugin/google_talkplugin.build | 59 | ||||
-rw-r--r-- | www/midori/midori-20090411-stockicons.patch.bz2 | bin | 0 -> 803 bytes | |||
-rwxr-xr-x | www/midori/midori.SlackBuild | 91 |
9 files changed, 497 insertions, 0 deletions
diff --git a/www/cclive/cclive.build b/www/cclive/cclive.build new file mode 100755 index 0000000..7503430 --- /dev/null +++ b/www/cclive/cclive.build @@ -0,0 +1,61 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=cclive +VERSION=0.7.2 +BUILD=1 +DEPENDS=('lua >= -1') + +# Description + +cat > ${PKG}/install/slack-desc <<EOF +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':'. + +$(padd)|-----handy-ruler------------------------------------------------------| +${NAME}: cclive +${NAME}: +${NAME}: A command-line tool to download flash videos. +${NAME}: +${NAME}: Homepage: http://cclive.sourceforge.net +${NAME}: +${NAME}: +${NAME}: +${NAME}: +${NAME}: +${NAME}: +EOF + +# Sources + +SRCNAME[0]=quvi +SRCVERS[0]=0.2.14 +SRCPACK[0]=${URL[sf]}/${SRCVERS[0]}/${SRCNAME[0]}-${SRCVERS[0]}.tar.xz +SRCCOPY[0]="LGPL21" + +build0() +{ +CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \ +./configure \ + --build="${ARCH}-slackware-linux" \ + --disable-dependency-tracking \ + --disable-silent-rules \ + --disable-rpath \ + --enable-static=no \ + --enable-shared=yes \ + --prefix=/usr \ + --mandir="${SYS_DIR[man]}" \ + --sysconfdir=/etc \ + --libdir=/usr/lib$(libdirsuffix) \ + --localstatedir=/var +make -j 2 V=1 +make install DESTDIR="${PKG}" +changelog NEWS +} diff --git a/www/elinks/elinks.build b/www/elinks/elinks.build new file mode 100755 index 0000000..cf7106c --- /dev/null +++ b/www/elinks/elinks.build @@ -0,0 +1,78 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=elinks +MAJOR=0.13 +MINOR=20130121 +VERSION=${MAJOR}.${MINOR} +BUILD=1 +DEPENDS=('gnutls >= 3.1.6-1' 'gpm >= 1.20.7-2' 'bzip2 >= 1.0.6-1' 'xz >= 5.0.4-1' 'expat >= 2.0.1-1') + +# Description + +cat > ${PKG}/install/slack-desc <<EOF +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':'. + +$(padd)|-----handy-ruler------------------------------------------------------| +${NAME}: elinks (web browser) +${NAME}: +${NAME}: An advanced console web browser which among many other features +${NAME}: supports a subset of CSS and JavaScript, frames, tables and colors. +${NAME}: It's interface is menu-driven and also allows for tabbed browsing. +${NAME}: +${NAME}: Homepage: http://elinks.or.cz +${NAME}: +${NAME}: +${NAME}: +${NAME}: +EOF + +# Sources + +SRCNAME[0]=${NAME} +SRCVERS[0]=current-${MAJOR} +SRCPACK[0]=http://elinks.or.cz/download/${SRCNAME[0]}-${SRCVERS[0]}.tar.bz2 +SRCROOT[0]=${NAME}-${MAJOR}-${MINOR} +SRCCOPY[0]="GPL2" + +build0() +{ +CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \ +./configure \ + --build="${ARCH}-slackware-linux" \ + --prefix=/usr \ + --mandir="${SYS_DIR[man]}" \ + --sysconfdir=/etc/conf.d \ + --libdir=/usr/lib$(libdirsuffix) \ + --localstatedir=/var \ + --enable-cgi \ + --enable-finger \ + --enable-fsp \ + --enable-gopher \ + --enable-nntp \ + --enable-88-colors \ + --enable-256-colors \ + --enable-true-color \ + --enable-html-highlight \ + --enable-no-root \ + --enable-fastmem \ + --with-lzma \ + --with-gnutls \ + --without-openssl \ + --without-lua \ + --without-x +make ${JOBS} V=1 +make install DESTDIR="${PKG}" +doc AUTHORS THANKS +changelog NEWS +rm -f \ + ${PKG}/usr/share/locale/locale.alias +} diff --git a/www/firefox/firefox.build b/www/firefox/firefox.build new file mode 100755 index 0000000..3fb5671 --- /dev/null +++ b/www/firefox/firefox.build @@ -0,0 +1,80 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=firefox +VERSION=28.0 +BUILD=1 +DEPENDS=('gtk+ >= 2.24.17-1') + +# Description + +cat > ${PKG}/install/slack-desc <<EOF +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':'. + +$(padd)|-----handy-ruler------------------------------------------------------| +${NAME}: firefox (Mozilla Firefox Web browser) +${NAME}: +${NAME}: This project is a redesign of the Mozilla browser component written +${NAME}: using the XUL user interface language. Firefox empowers you to browse +${NAME}: faster, safer and more efficiently than with any other browser. +${NAME}: +${NAME}: Visit the Mozilla Firefox project online: +${NAME}: http://www.mozilla.org/projects/firefox +${NAME}: +${NAME}: +${NAME}: +EOF + +# Sources + +BASEURL="http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/${VERSION}" + +# $(uname -m) here is a kludge because we should take care of the arch stuff +# before we get to this point. I.e. ${ARCH} should work here. +case "$(uname -m)" in + x86) + MOZREPO="${BASEURL}/linux-i686/en-US" + ;; + x86_64) + MOZREPO="${BASEURL}/linux-x86_64/en-US" + ;; +esac + +SRCNAME[0]=${NAME} +SRCVERS[0]=${VERSION} +SRCPACK[0]=${MOZREPO}/${SRCNAME[0]}-${SRCVERS[0]}.tar.bz2 +SRCOPTS[0]="pkgunpack" + +build0() +{ +install.dir ${PKG}/opt +mv firefox opt +install.dir ${PKG}${SYS_DIR[bin]} +( + cd ${PKG}${SYS_DIR[bin]} + ln -sf /opt/firefox/firefox +) +( + cd opt/firefox/browser + ln -s ${SYS_DIR[lib]}/plugins/mozilla plugins +) +sed -i "s|moz_libdir=/usr/local/lib/firefox-${VERSION}|moz_libdir=/opt/firefox|g" opt/firefox/firefox +} + +SRCNAME[1]=${NAME} +SRCVERS[1]=slackware +SRCPACK[1]=${SRCNAME[1]}-${SRCVERS[1]}.tar.xz +SRCOPTS[1]="pkgunpack" + +build1() +{ +echo "Nothing to do here!" +} diff --git a/www/flash_plugin/flash_plugin-11.2.202.400-xfcesettings.patch.xz b/www/flash_plugin/flash_plugin-11.2.202.400-xfcesettings.patch.xz Binary files differnew file mode 100644 index 0000000..683dda3 --- /dev/null +++ b/www/flash_plugin/flash_plugin-11.2.202.400-xfcesettings.patch.xz diff --git a/www/flash_plugin/flash_plugin.build b/www/flash_plugin/flash_plugin.build new file mode 100755 index 0000000..9a89566 --- /dev/null +++ b/www/flash_plugin/flash_plugin.build @@ -0,0 +1,62 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=flash_plugin +MAJOR=11 +VERSION=${MAJOR}.2.202.400 +BUILD=1 +DEPENDS=('gtk+ >= 2.24.17-1') + +# Description + +cat > ${PKG}/install/slack-desc <<EOF +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':'. + +$(padd)|-----handy-ruler------------------------------------------------------| +${NAME}: flash_plugin (Adobe Flash Player) +${NAME}: +${NAME}: This is the official Adobe Flash Player plug-in for NPAPI-capable +${NAME}: browsers such as Mozilla and Chrome. +${NAME}: +${NAME}: +${NAME}: +${NAME}: +${NAME}: +${NAME}: +${NAME}: +EOF + +# Sources + +SRCNAME[0]=${NAME} +SRCVERS[0]=${VERSION} +SRCOPTS[0]="nosrcroot" + +URL=http://download.macromedia.com/pub/labs/flashplatformruntimes/flashplayer11 +if [ "$(uname -m)" == "x86_64" ]; then +SRCPACK[0]=${URL}/install_flash_player_11_linux.x86_64.tar.gz +else +SRCPACK[0]=${URL}/install_flash_player_11_linux.i386.tar.gz +fi + +build0() +{ +install.dir ${PKG}${SYS_DIR[lib]}/plugins/mozilla +install.bin libflashplayer.so ${PKG}${SYS_DIR[lib]}/plugins/mozilla +install.dir ${PKG}${SYS_DIR[bin]} +install.bin usr/bin/flash-player-properties ${PKG}${SYS_DIR[bin]} +install.dir ${PKG}${SYS_DIR[share]}/applications +install.dat \ + usr/share/applications/flash-player-properties.desktop \ + ${PKG}${SYS_DIR[share]}/applications +install.dir ${PKG}${SYS_DIR[share]}/icons/hicolor +cp -r usr/share/icons/hicolor/* ${PKG}${SYS_DIR[share]}/icons/hicolor +} diff --git a/www/google_chrome/google_chrome.build b/www/google_chrome/google_chrome.build new file mode 100755 index 0000000..23b3fb9 --- /dev/null +++ b/www/google_chrome/google_chrome.build @@ -0,0 +1,66 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=google_chrome +VERSION=35.0.1916.114 +BUILD=1 +DEPENDS=('gtk+ >= 2.24.17-1' 'nss >= 3.14.3-1' 'gconf >= 3.2.6-1') + +# Description + +cat > ${PKG}/install/slack-desc <<EOF +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':'. + +$(padd)|-----handy-ruler------------------------------------------------------| +${NAME}: google_chrome (web browser) +${NAME}: +${NAME}: A fast web browser. +${NAME}: +${NAME}: Homepage: http://google.com/chrome +${NAME}: +${NAME}: +${NAME}: +${NAME}: +${NAME}: +${NAME}: +EOF + +cat >> ${PKG}/install/doinst.sh <<EOF +#!/bin/sh + +( cd opt/google/chrome ; chmod 4755 chrome-sandbox ) +EOF + +# Sources + +#FIXME: architecture kludge + +SRCNAME[0]=google-chrome +SRCVERS[0]=stable_current_$(uname -m) +SRCPACK[0]=https://dl.google.com/linux/direct/${SRCNAME[0]}-${SRCVERS[0]}.rpm +SRCOPTS[0]="pkgunpack" + +build0() +{ +# Symlink the startup script +install.dir ${PKG}${SYS_DIR[bin]} +( cd ${PKG}${SYS_DIR[bin]}; ln -sf /opt/google/chrome/google-chrome ) +# Install properly the icon +install.dir ${PKG}${SYS_DIR[share]}/icons/hicolor +for size in 256 128 64 48 32 24 22 16; do + dir=${PKG}${SYS_DIR[share]}/icons/hicolor/${size}x${size}/apps + install.dir ${dir} + ( cd ${dir} ; ln -sf /opt/google/chrome/product_logo_${size}.png google-chrome.png ) +done +rm -rf \ + ${PKG}${SYS_DIR[etc]} \ + ${PKG}${SYS_DIR[share]}/gnome-control-center +} diff --git a/www/google_talkplugin/google_talkplugin.build b/www/google_talkplugin/google_talkplugin.build new file mode 100755 index 0000000..62bbb5a --- /dev/null +++ b/www/google_talkplugin/google_talkplugin.build @@ -0,0 +1,59 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=google_talkplugin +VERSION=5.2.4.0 +BUILD=1 +DEPENDS=('gtk+ >= 2.24.14-1') + +# Description + +cat > ${PKG}/install/slack-desc <<EOF +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':'. + +$(padd)|-----handy-ruler------------------------------------------------------| +${NAME}: google_talkplugin +${NAME}: +${NAME}: Voice and video capabilities for Google websites and more. +${NAME}: +${NAME}: Homepage: http://www.google.fr/talk +${NAME}: +${NAME}: +${NAME}: +${NAME}: +${NAME}: +${NAME}: +EOF + +# Sources + +#FIXME: architecture kludge + +SRCNAME[0]=google-talkplugin +SRCVERS[0]=current_$(uname -m) +SRCPACK[0]=${SRCNAME[0]}_${SRCVERS[0]}.rpm +SRCOPTS[0]="pkgunpack" + +build0() +{ +# Install cron script properly +install.dir ${PKG}${SYS_DIR[etc]}/cron.daily +install.bin opt/google/talkplugin/cron/google-talkplugin ${PKG}${SYS_DIR[etc]}/cron.daily +rm -rf ${PKG}/opt/google/talkplugin/cron +# Install plugin properly +rm -rf ${PKG}${SYS_DIR[lib]}64 +install.dir ${PKG}${SYS_DIR[lib]}/plugins/mozilla +( + cd ${PKG}${SYS_DIR[lib]}/plugins/mozilla + ln -sf /opt/google/talkplugin/libnpgoogletalk.so + ln -sf /opt/google/talkplugin/libnpgtpo3dautoplugin.so +) +} diff --git a/www/midori/midori-20090411-stockicons.patch.bz2 b/www/midori/midori-20090411-stockicons.patch.bz2 Binary files differnew file mode 100644 index 0000000..0cae7f4 --- /dev/null +++ b/www/midori/midori-20090411-stockicons.patch.bz2 diff --git a/www/midori/midori.SlackBuild b/www/midori/midori.SlackBuild new file mode 100755 index 0000000..1fc8696 --- /dev/null +++ b/www/midori/midori.SlackBuild @@ -0,0 +1,91 @@ +#!/bin/sh + +CWD=`pwd` +NAME=midori +VERSION=20090411 +ARCH=i586 +BUILD=1 +PKGNAME=$NAME +PKGVER=$VERSION +BASEDIR=$PKGNAME-$PKGVER +ARCHIVE=$BASEDIR.tar.bz2 +REPOSITORY=http://goodies.xfce.org/releases/midori +FLAGS="-O2 -march=pentium -mtune=pentium -fno-strength-reduce \ + -fomit-frame-pointer -ffast-math" +PKG=/tmp/package-$NAME + +rm -rf $PKG +mkdir -p $PKG + +# Obtain sources +if [ ! -e $ARCHIVE ]; then + if `wget "$REPOSITORY/$ARCHIVE"`; then + true + else + exit 1 + fi +fi + +# Compile +cd /tmp +tar jxvf $CWD/$ARCHIVE +cd $BASEDIR +bzcat $CWD/$NAME-$VERSION-stockicons.patch.bz2 | patch -p1 -s +CFLAGS=$FLAGS CXXFLAGS=$FLAGS ./configure \ + -pp -d none \ + --prefix=/usr \ + --mandir=/usr/man \ + --docdir=/usr/doc/${NAME}-${VERSION} \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --libdir=/usr/libexec +make + +# Install +make install DESTDIR=$PKG +mkdir -p $PKG/install $PKG/usr/doc/$NAME-$VERSION +cat > $PKG/install/slack-desc <<EOF +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':'. + + |-----handy-ruler------------------------------------------------------| +midori: midori (web browser) +midori: +midori: A web browser based on WebKit. +midori: +midori: Homepage: http://www.twotoasts.de +midori: +midori: +midori: +midori: +midori: +midori: +EOF + +cat > $PKG/install/slack-required <<EOF +webkit >= 1.1.4-i486-1 +libunique >= 1.0.8-i486-1 +libidn >= 1.9-i586-1 +EOF + +mv ${PKG}/usr/doc/${NAME}-${VERSION}/${NAME}/* \ + ${PKG}/usr/doc/${NAME}-${VERSION} + +rmdir ${PKG}/usr/doc/${NAME}-${VERSION}/${NAME} + +strip --strip-unneeded \ + $PKG/usr/libexec/*/*.so || : + +strip \ + $PKG/usr/bin/* || : + +chown -R root.root $PKG + +# Make package +cd $PKG +cat install/slack-desc | grep "$NAME:" > /tmp/$NAME-$VERSION-$ARCH-$BUILD.txt +makepkg -l y -c n /tmp/$NAME-$VERSION-$ARCH-$BUILD.tgz |