summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--system/partclone/partclone.SlackBuild12
-rw-r--r--system/partclone/partclone.info6
2 files changed, 8 insertions, 10 deletions
diff --git a/system/partclone/partclone.SlackBuild b/system/partclone/partclone.SlackBuild
index abd90da07f..2c3a5cc957 100644
--- a/system/partclone/partclone.SlackBuild
+++ b/system/partclone/partclone.SlackBuild
@@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=partclone
-VERSION=${VERSION:-0.2.80}
+VERSION=${VERSION:-0.3.18}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -38,9 +38,6 @@ if [ -z "$ARCH" ]; then
esac
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 "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -70,7 +67,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/${PRGNAM}_${VERSION}.orig.tar.gz
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -79,6 +76,8 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+./autogen
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -90,7 +89,6 @@ CXXFLAGS="$SLKCFLAGS" \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--build=$ARCH-slackware-linux \
--enable-extfs \
- --enable-ntfs \
--enable-hfsp \
--enable-fat \
--enable-exfat \
@@ -107,7 +105,7 @@ find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a ABOUT-NLS AUTHORS COPYING INSTALL NEWS README README.Packages TODO $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a ABOUT-NLS AUTHORS COPYING ChangeLog HACKING IMAGE_FORMATS.md INSTALL NEWS README.md TODO $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/system/partclone/partclone.info b/system/partclone/partclone.info
index 1fd491508c..47bb6a792b 100644
--- a/system/partclone/partclone.info
+++ b/system/partclone/partclone.info
@@ -1,8 +1,8 @@
PRGNAM="partclone"
-VERSION="0.2.80"
+VERSION="0.3.18"
HOMEPAGE="https://partclone.org"
-DOWNLOAD="https://downloads.sourceforge.net/project/partclone/source/partclone_0.2.80.orig.tar.gz"
-MD5SUM="82e83d8350714d0834bde59a4a168f8c"
+DOWNLOAD="https://github.com/Thomas-Tsai/partclone/archive/0.3.18/partclone-0.3.18.tar.gz"
+MD5SUM="011fd357ceb590d6fc1b8d0e8d4652fc"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""