diff options
author | rudson <rudson@370017ae-e619-0410-ac65-c121f96126d4> | 2007-12-14 14:28:45 +0000 |
---|---|---|
committer | rudson <rudson@370017ae-e619-0410-ac65-c121f96126d4> | 2007-12-14 14:28:45 +0000 |
commit | 79245abc0c95ce44786f9ca6f954858d9f6501c8 (patch) | |
tree | a8da51006debe6ff54a6619d3b34fc961219d1cb /media/libs | |
parent | 186c14ac9dc153eaddebd4f89a061c711c789c59 (diff) | |
download | slackbuilds-79245abc0c95ce44786f9ca6f954858d9f6501c8.tar.gz slackbuilds-79245abc0c95ce44786f9ca6f954858d9f6501c8.tar.bz2 |
git-svn-id: svn+slack://slack.fluxo.info/var/svn/slackbuilds@1533 370017ae-e619-0410-ac65-c121f96126d4
Diffstat (limited to 'media/libs')
-rw-r--r-- | media/libs/jasper/jasper.SlackBuild | 15 | ||||
-rwxr-xr-x | media/libs/libdvdcss/libdvdcss.SlackBuild | 18 | ||||
-rwxr-xr-x | media/libs/libdvdread/libdvdread.SlackBuild | 13 | ||||
-rwxr-xr-x | media/libs/libgphoto2/libgphoto2.SlackBuild | 13 | ||||
-rw-r--r-- | media/libs/libkdcraw/libkdcraw.SlackBuild | 13 | ||||
-rw-r--r-- | media/libs/libkexiv2/libkexiv2.SlackBuild | 13 | ||||
-rwxr-xr-x | media/libs/libkipi/libkipi.SlackBuild | 13 | ||||
-rwxr-xr-x | media/libs/sdl-sound/sdl-sound.SlackBuild | 13 |
8 files changed, 68 insertions, 43 deletions
diff --git a/media/libs/jasper/jasper.SlackBuild b/media/libs/jasper/jasper.SlackBuild index cf19eb41..bac216c9 100644 --- a/media/libs/jasper/jasper.SlackBuild +++ b/media/libs/jasper/jasper.SlackBuild @@ -15,7 +15,7 @@ # Place - Suite 330, Boston, MA 02111-1307, USA # # slackbuild for jasper, by Rudson R. Alves -# requires: +# requires: # tested: jasper-1.900.1 # @@ -66,7 +66,7 @@ ERROR_TAR=37; ERROR_MKPKG=38; ERROR_GPG=39 ERROR_PATCH=40; ERROR_VCS=41; ERROR_MKDIR=42 # Clean up any leftovers of previous builds -rm -rf "$PKG_SRC" 2> /dev/null +rm -rf "$PKG_WORK" 2> /dev/null rm -rf "$PKG" 2> /dev/null # Create directories if necessary @@ -83,10 +83,9 @@ if [ ! -s "$SRC_DIR/$SRC" ] || ! unzip -t "$SRC_DIR/$SRC" 2> /dev/null; then wget "$URL" -O "$SRC_DIR/$SRC" || exit $ERROR_WGET fi - # Untar cd "$PKG_WORK" -unzip "$SRC_DIR/$SRC" || exit $ERROR_TAR +unzip "$SRC_DIR/$SRC" || exit $ERROR_TAR PKG_SRC=`ls -l | awk '/^d/ { print $8 }'` cd "$PKG_SRC" @@ -113,7 +112,11 @@ make install DESTDIR="$PKG" || exit $ERROR_INSTALL # Install documentation DOCS="COPYRIGHT ChangeLog INSTALL LICENSE NEWS README" mkdir -p "$PKG/usr/doc/$PKG_NAME-$PKG_VERSION" || exit $ERROR_MKDIR -cp -a $DOCS "$PKG/usr/doc/$PKG_NAME-$PKG_VERSION" +for doc in $DOCS; do + if [ -f "$doc" ]; then + cp -a $doc "$PKG/usr/doc/$PKG_NAME-$PKG_VERSION" + fi +done # Add package description (slack-desc) mkdir -p "$PKG/install" || exit $ERROR_MKDIR @@ -145,5 +148,5 @@ makepkg -l y -c n "$REPOS/$PKG_NAME-$PKG_VERSION-$ARCH-$BUILD.tgz" || exit $ERRO # Delete source and build directories if requested if [ "$CLEANUP" == "yes" ]; then - rm -rf "$PKG_SRC" "$PKG" + rm -rf "$PKG_WORK" "$PKG" fi diff --git a/media/libs/libdvdcss/libdvdcss.SlackBuild b/media/libs/libdvdcss/libdvdcss.SlackBuild index 5fbfed88..ba682a31 100755 --- a/media/libs/libdvdcss/libdvdcss.SlackBuild +++ b/media/libs/libdvdcss/libdvdcss.SlackBuild @@ -15,7 +15,7 @@ # Place - Suite 330, Boston, MA 02111-1307, USA # # slackbuild for libdvdcss, by Rudson R. Alves -# requires: +# requires: # tested: libdvdcss-1.2.9 # @@ -66,7 +66,7 @@ ERROR_TAR=37; ERROR_MKPKG=38; ERROR_GPG=39 ERROR_PATCH=40; ERROR_VCS=41; ERROR_MKDIR=42 # Clean up any leftovers of previous builds -rm -rf "$PKG_SRC" 2> /dev/null +rm -rf "$PKG_WORK" 2> /dev/null rm -rf "$PKG" 2> /dev/null # Create directories if necessary @@ -83,10 +83,10 @@ if [ ! -s "$SRC_DIR/$SRC" ] || ! bunzip2 -t "$SRC_DIR/$SRC" 2> /dev/null; then wget "$URL" -O "$SRC_DIR/$SRC" || exit $ERROR_WGET fi - # Untar -cd "$TMP" -tar --no-same-owner --no-same-permissions -xvf "$SRC_DIR/$SRC" || exit $ERROR_TA +cd "$PKG_WORK" +tar --no-same-owner --no-same-permissions -xvf "$SRC_DIR/$SRC" || exit $ERROR_TAR +PKG_SRC=`ls -l | awk '/^d/ { print $8 }'` cd "$PKG_SRC" # Slackware 12.0 TeX set @@ -118,7 +118,11 @@ make install DESTDIR="$PKG" || exit $ERROR_INSTALL # Install documentation DOCS="AUTHORS ChangeLog README COPYING INSTALL NEWS" mkdir -p "$PKG/usr/doc/$PKG_NAME-$PKG_VERSION" || exit $ERROR_MKDIR -cp -a $DOCS "$PKG/usr/doc/$PKG_NAME-$PKG_VERSION" +for doc in $DOCS; do + if [ -f "$doc" ]; then + cp -a $doc "$PKG/usr/doc/$PKG_NAME-$PKG_VERSION" + fi +done # Add package description (slack-desc) mkdir -p "$PKG/install" || exit $ERROR_MKDIR @@ -149,5 +153,5 @@ makepkg -l y -c n "$REPOS/$PKG_NAME-$PKG_VERSION-$ARCH-$BUILD.tgz" || exit $ERRO # Delete source and build directories if requested if [ "$CLEANUP" == "yes" ]; then - rm -rf "$PKG_SRC" "$PKG" + rm -rf "$PKG_WORK" "$PKG" fi diff --git a/media/libs/libdvdread/libdvdread.SlackBuild b/media/libs/libdvdread/libdvdread.SlackBuild index 5a801fd0..0b0262d8 100755 --- a/media/libs/libdvdread/libdvdread.SlackBuild +++ b/media/libs/libdvdread/libdvdread.SlackBuild @@ -15,7 +15,7 @@ # Place - Suite 330, Boston, MA 02111-1307, USA # # slackbuild for libdvdread, by Rudson R. Alves -# requires: libdvdcss +# requires: libdvdcss # tested: libdvdread-0.9.7 # @@ -66,7 +66,7 @@ ERROR_TAR=37; ERROR_MKPKG=38; ERROR_GPG=39 ERROR_PATCH=40; ERROR_VCS=41; ERROR_MKDIR=42 # Clean up any leftovers of previous builds -rm -rf "$PKG_SRC" 2> /dev/null +rm -rf "$PKG_WORK" 2> /dev/null rm -rf "$PKG" 2> /dev/null # Create directories if necessary @@ -83,7 +83,6 @@ if [ ! -s "$SRC_DIR/$SRC" ] || ! gunzip -t "$SRC_DIR/$SRC" 2> /dev/null; then wget "$URL" -O "$SRC_DIR/$SRC" || exit $ERROR_WGET fi - # Untar cd "$PKG_WORK" tar --no-same-owner --no-same-permissions -xvf "$SRC_DIR/$SRC" || exit $ERROR_TAR @@ -113,7 +112,11 @@ make install DESTDIR="$PKG" || exit $ERROR_INSTALL # Install documentation DOCS="NEWS TODO README AUTHORS INSTALL ChangeLog COPYING" mkdir -p "$PKG/usr/doc/$PKG_NAME-$PKG_VERSION" || exit $ERROR_MKDIR -cp -a $DOCS "$PKG/usr/doc/$PKG_NAME-$PKG_VERSION" +for doc in $DOCS; do + if [ -f "$doc" ]; then + cp -a $doc "$PKG/usr/doc/$PKG_NAME-$PKG_VERSION" + fi +done # Add package description (slack-desc) mkdir -p "$PKG/install" || exit $ERROR_MKDIR @@ -144,5 +147,5 @@ makepkg -l y -c n "$REPOS/$PKG_NAME-$PKG_VERSION-$ARCH-$BUILD.tgz" || exit $ERRO # Delete source and build directories if requested if [ "$CLEANUP" == "yes" ]; then - rm -rf "$PKG_SRC" "$PKG" + rm -rf "$PKG_WORK" "$PKG" fi diff --git a/media/libs/libgphoto2/libgphoto2.SlackBuild b/media/libs/libgphoto2/libgphoto2.SlackBuild index 4ff79fa0..71568878 100755 --- a/media/libs/libgphoto2/libgphoto2.SlackBuild +++ b/media/libs/libgphoto2/libgphoto2.SlackBuild @@ -15,7 +15,7 @@ # Place - Suite 330, Boston, MA 02111-1307, USA # # slackbuild for libgphoto2, by Rudson R. Alves -# requires: +# requires: # tested: libgphoto2-2.4.0 # @@ -66,7 +66,7 @@ ERROR_TAR=37; ERROR_MKPKG=38; ERROR_GPG=39 ERROR_PATCH=40; ERROR_VCS=41; ERROR_MKDIR=42 # Clean up any leftovers of previous builds -rm -rf "$PKG_SRC" 2> /dev/null +rm -rf "$PKG_WORK" 2> /dev/null rm -rf "$PKG" 2> /dev/null # Create directories if necessary @@ -83,7 +83,6 @@ if [ ! -s "$SRC_DIR/$SRC" ] || ! bunzip2 -t "$SRC_DIR/$SRC" 2> /dev/null; then wget "$URL" -O "$SRC_DIR/$SRC" || exit $ERROR_WGET fi - # Untar cd "$PKG_WORK" tar --no-same-owner --no-same-permissions -xvf "$SRC_DIR/$SRC" || exit $ERROR_TAR @@ -113,7 +112,11 @@ make install DESTDIR="$PKG" || exit $ERROR_INSTALL # Install documentation DOCS="ABOUT-NLS AUTHORS COPYING ChangeLog HACKING INSTALL MAINTAINERS NEWS README README.in TESTERS" mkdir -p "$PKG/usr/doc/$PKG_NAME-$PKG_VERSION" || exit $ERROR_MKDIR -cp -a $DOCS "$PKG/usr/doc/$PKG_NAME-$PKG_VERSION" +for doc in $DOCS; do + if [ -f "$doc" ]; then + cp -a $doc "$PKG/usr/doc/$PKG_NAME-$PKG_VERSION" + fi +done # Add package description (slack-desc) mkdir -p "$PKG/install" || exit $ERROR_MKDIR @@ -145,5 +148,5 @@ makepkg -l y -c n "$REPOS/$PKG_NAME-$PKG_VERSION-$ARCH-$BUILD.tgz" || exit $ERRO # Delete source and build directories if requested if [ "$CLEANUP" == "yes" ]; then - rm -rf "$PKG_SRC" "$PKG" + rm -rf "$PKG_WORK" "$PKG" fi diff --git a/media/libs/libkdcraw/libkdcraw.SlackBuild b/media/libs/libkdcraw/libkdcraw.SlackBuild index d28c443e..f5f12323 100644 --- a/media/libs/libkdcraw/libkdcraw.SlackBuild +++ b/media/libs/libkdcraw/libkdcraw.SlackBuild @@ -15,7 +15,7 @@ # Place - Suite 330, Boston, MA 02111-1307, USA # # slackbuild for libkdcraw, by Rudson R. Alves -# requires: lcms +# requires: lcms # tested: libkdcraw-0.1.2 # @@ -66,7 +66,7 @@ ERROR_TAR=37; ERROR_MKPKG=38; ERROR_GPG=39 ERROR_PATCH=40; ERROR_VCS=41; ERROR_MKDIR=42 # Clean up any leftovers of previous builds -rm -rf "$PKG_SRC" 2> /dev/null +rm -rf "$PKG_WORK" 2> /dev/null rm -rf "$PKG" 2> /dev/null # Create directories if necessary @@ -83,7 +83,6 @@ if [ ! -s "$SRC_DIR/$SRC" ] || ! bunzip2 -t "$SRC_DIR/$SRC" 2> /dev/null; then wget "$URL" -O "$SRC_DIR/$SRC" || exit $ERROR_WGET fi - # Untar cd "$PKG_WORK" tar --no-same-owner --no-same-permissions -xvf "$SRC_DIR/$SRC" || exit $ERROR_TAR @@ -113,7 +112,11 @@ make install DESTDIR="$PKG" || exit $ERROR_INSTALL # Install documentation DOCS="AUTHORS COPYING ChangeLog INSTALL NEWS PACKAGING README RELEASE.rev" mkdir -p "$PKG/usr/doc/$PKG_NAME-$PKG_VERSION" || exit $ERROR_MKDIR -cp -a $DOCS "$PKG/usr/doc/$PKG_NAME-$PKG_VERSION" +for doc in $DOCS; do + if [ -f "$doc" ]; then + cp -a $doc "$PKG/usr/doc/$PKG_NAME-$PKG_VERSION" + fi +done # Add package description (slack-desc) mkdir -p "$PKG/install" || exit $ERROR_MKDIR @@ -145,5 +148,5 @@ makepkg -l y -c n "$REPOS/$PKG_NAME-$PKG_VERSION-$ARCH-$BUILD.tgz" || exit $ERRO # Delete source and build directories if requested if [ "$CLEANUP" == "yes" ]; then - rm -rf "$PKG_SRC" "$PKG" + rm -rf "$PKG_WORK" "$PKG" fi diff --git a/media/libs/libkexiv2/libkexiv2.SlackBuild b/media/libs/libkexiv2/libkexiv2.SlackBuild index 19d4563b..81be9678 100644 --- a/media/libs/libkexiv2/libkexiv2.SlackBuild +++ b/media/libs/libkexiv2/libkexiv2.SlackBuild @@ -15,7 +15,7 @@ # Place - Suite 330, Boston, MA 02111-1307, USA # # slackbuild for libkexiv2, by Rudson R. Alves -# requires: exiv2 +# requires: exiv2 # tested: libkexiv2-0.1.6 # @@ -66,7 +66,7 @@ ERROR_TAR=37; ERROR_MKPKG=38; ERROR_GPG=39 ERROR_PATCH=40; ERROR_VCS=41; ERROR_MKDIR=42 # Clean up any leftovers of previous builds -rm -rf "$PKG_SRC" 2> /dev/null +rm -rf "$PKG_WORK" 2> /dev/null rm -rf "$PKG" 2> /dev/null # Create directories if necessary @@ -83,7 +83,6 @@ if [ ! -s "$SRC_DIR/$SRC" ] || ! bunzip2 -t "$SRC_DIR/$SRC" 2> /dev/null; then wget "$URL" -O "$SRC_DIR/$SRC" || exit $ERROR_WGET fi - # Untar cd "$PKG_WORK" tar --no-same-owner --no-same-permissions -xvf "$SRC_DIR/$SRC" || exit $ERROR_TAR @@ -113,7 +112,11 @@ make install DESTDIR="$PKG" || exit $ERROR_INSTALL # Install documentation DOCS="AUTHORS COPYING ChangeLog INSTALL NEWS PACKAGING README RELEASE.rev" mkdir -p "$PKG/usr/doc/$PKG_NAME-$PKG_VERSION" || exit $ERROR_MKDIR -cp -a $DOCS "$PKG/usr/doc/$PKG_NAME-$PKG_VERSION" +for doc in $DOCS; do + if [ -f "$doc" ]; then + cp -a $doc "$PKG/usr/doc/$PKG_NAME-$PKG_VERSION" + fi +done # Add package description (slack-desc) mkdir -p "$PKG/install" || exit $ERROR_MKDIR @@ -145,5 +148,5 @@ makepkg -l y -c n "$REPOS/$PKG_NAME-$PKG_VERSION-$ARCH-$BUILD.tgz" || exit $ERRO # Delete source and build directories if requested if [ "$CLEANUP" == "yes" ]; then - rm -rf "$PKG_SRC" "$PKG" + rm -rf "$PKG_WORK" "$PKG" fi diff --git a/media/libs/libkipi/libkipi.SlackBuild b/media/libs/libkipi/libkipi.SlackBuild index 17ff6adc..a10ba669 100755 --- a/media/libs/libkipi/libkipi.SlackBuild +++ b/media/libs/libkipi/libkipi.SlackBuild @@ -15,7 +15,7 @@ # Place - Suite 330, Boston, MA 02111-1307, USA # # slackbuild for libkipi, by Rudson R. Alves -# requires: +# requires: # tested: libkipi-0.1.5 # @@ -66,7 +66,7 @@ ERROR_TAR=37; ERROR_MKPKG=38; ERROR_GPG=39 ERROR_PATCH=40; ERROR_VCS=41; ERROR_MKDIR=42 # Clean up any leftovers of previous builds -rm -rf "$PKG_SRC" 2> /dev/null +rm -rf "$PKG_WORK" 2> /dev/null rm -rf "$PKG" 2> /dev/null # Create directories if necessary @@ -83,7 +83,6 @@ if [ ! -s "$SRC_DIR/$SRC" ] || ! bunzip2 -t "$SRC_DIR/$SRC" 2> /dev/null; then wget "$URL" -O "$SRC_DIR/$SRC" || exit $ERROR_WGET fi - # Untar cd "$PKG_WORK" tar --no-same-owner --no-same-permissions -xvf "$SRC_DIR/$SRC" || exit $ERROR_TAR @@ -113,7 +112,11 @@ make install DESTDIR="$PKG" || exit $ERROR_INSTALL # Install documentation DOCS="AUTHORS COPYING ChangeLog INSTALL NEWS PACKAGING README RELEASE.rev TODO" mkdir -p "$PKG/usr/doc/$PKG_NAME-$PKG_VERSION" || exit $ERROR_MKDIR -cp -a $DOCS "$PKG/usr/doc/$PKG_NAME-$PKG_VERSION" +for doc in $DOCS; do + if [ -f "$doc" ]; then + cp -a $doc "$PKG/usr/doc/$PKG_NAME-$PKG_VERSION" + fi +done # Add package description (slack-desc) mkdir -p "$PKG/install" || exit $ERROR_MKDIR @@ -145,5 +148,5 @@ makepkg -l y -c n "$REPOS/$PKG_NAME-$PKG_VERSION-$ARCH-$BUILD.tgz" || exit $ERRO # Delete source and build directories if requested if [ "$CLEANUP" == "yes" ]; then - rm -rf "$PKG_SRC" "$PKG" + rm -rf "$PKG_WORK" "$PKG" fi diff --git a/media/libs/sdl-sound/sdl-sound.SlackBuild b/media/libs/sdl-sound/sdl-sound.SlackBuild index ad557b45..81de0c58 100755 --- a/media/libs/sdl-sound/sdl-sound.SlackBuild +++ b/media/libs/sdl-sound/sdl-sound.SlackBuild @@ -15,7 +15,7 @@ # Place - Suite 330, Boston, MA 02111-1307, USA # # slackbuild for sdl-sound, by Rudson R. Alves -# requires: sdl +# requires: sdl # tested: sdl-sound-1.0.1 # @@ -66,7 +66,7 @@ ERROR_TAR=37; ERROR_MKPKG=38; ERROR_GPG=39 ERROR_PATCH=40; ERROR_VCS=41; ERROR_MKDIR=42 # Clean up any leftovers of previous builds -rm -rf "$PKG_SRC" 2> /dev/null +rm -rf "$PKG_WORK" 2> /dev/null rm -rf "$PKG" 2> /dev/null # Create directories if necessary @@ -83,7 +83,6 @@ if [ ! -s "$SRC_DIR/$SRC" ] || ! gunzip -t "$SRC_DIR/$SRC" 2> /dev/null; then wget "$URL" -O "$SRC_DIR/$SRC" || exit $ERROR_WGET fi - # Untar cd "$PKG_WORK" tar --no-same-owner --no-same-permissions -xvf "$SRC_DIR/$SRC" || exit $ERROR_TAR @@ -113,7 +112,11 @@ make install DESTDIR="$PKG" || exit $ERROR_INSTALL # Install documentation DOCS="CHANGELOG COPYING CREDITS TODO INSTALL README" mkdir -p "$PKG/usr/doc/$PKG_NAME-$PKG_VERSION" || exit $ERROR_MKDIR -cp -a $DOCS "$PKG/usr/doc/$PKG_NAME-$PKG_VERSION" +for doc in $DOCS; do + if [ -f "$doc" ]; then + cp -a $doc "$PKG/usr/doc/$PKG_NAME-$PKG_VERSION" + fi +done # Add package description (slack-desc) mkdir -p "$PKG/install" || exit $ERROR_MKDIR @@ -145,5 +148,5 @@ makepkg -l y -c n "$REPOS/$PKG_NAME-$PKG_VERSION-$ARCH-$BUILD.tgz" || exit $ERRO # Delete source and build directories if requested if [ "$CLEANUP" == "yes" ]; then - rm -rf "$PKG_SRC" "$PKG" + rm -rf "$PKG_WORK" "$PKG" fi |