diff options
-rw-r--r-- | development/device-tree-compiler/device-tree-compiler.SlackBuild | 19 | ||||
-rw-r--r-- | development/device-tree-compiler/device-tree-compiler.info | 10 |
2 files changed, 8 insertions, 21 deletions
diff --git a/development/device-tree-compiler/device-tree-compiler.SlackBuild b/development/device-tree-compiler/device-tree-compiler.SlackBuild index 66721bcd93..f1ab07b07a 100644 --- a/development/device-tree-compiler/device-tree-compiler.SlackBuild +++ b/development/device-tree-compiler/device-tree-compiler.SlackBuild @@ -25,7 +25,7 @@ # With tweaks from rworkman to use in SlackBuilds.org tree PRGNAM=device-tree-compiler -VERSION=${VERSION:-1.4.0} +VERSION=${VERSION:-1.4.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -59,9 +59,9 @@ fi rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-$VERSION.orig +rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION.tar.xz -cd $PRGNAM-$VERSION.orig +cd $PRGNAM-$VERSION chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ @@ -69,13 +69,6 @@ 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 {} \; -# Apply Debian patches: -# Ordinarily I wouldn't just apply them all, but having done a bit of -# reading, it seems as if it's a good idea -- plus the developers of the Trimslice -# develop on Ubuntu, so it makes sense to use as similar 'dtc' to them as possible. -xz -dc $CWD/${PRGNAM}_${VERSION}*diff.xz | patch -p1 -for i in debian/patches/*.patch ; do patch -p1 < $i ; done - make clean make CFLAGS="$SLKCFLAGS" PREFIX=/usr LIBDIR=/usr/lib${LIBDIRSUFFIX} make install PREFIX=/usr LIBDIR=/usr/lib${LIBDIRSUFFIX} DESTDIR=$PKG @@ -83,13 +76,9 @@ make install PREFIX=/usr LIBDIR=/usr/lib${LIBDIRSUFFIX} DESTDIR=$PKG find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true -mkdir -p $PKG/usr/man/man1 -cp -a debian/manpages/*.1 $PKG/usr/man/man1 -find $PKG/usr/man -type f -exec gzip -9 {} \; - mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ - Documentation/manual.txt GPL README.license TODO \ + Documentation/manual.txt GPL README* TODO \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild diff --git a/development/device-tree-compiler/device-tree-compiler.info b/development/device-tree-compiler/device-tree-compiler.info index c32db53626..bbbdcaee1f 100644 --- a/development/device-tree-compiler/device-tree-compiler.info +++ b/development/device-tree-compiler/device-tree-compiler.info @@ -1,10 +1,8 @@ PRGNAM="device-tree-compiler" -VERSION="1.4.0" -HOMEPAGE="http://www.jdl.com/software/dtc.git/" -DOWNLOAD="http://harrier.slackbuilds.org/misc/device-tree-compiler-1.4.0.tar.xz \ - http://harrier.slackbuilds.org/misc/device-tree-compiler_1.4.0-2.diff.xz" -MD5SUM="95b013684a9211af45bc478b9c3adab7 \ - 76170dfaa6d7d035f21657f16a61d065" +VERSION="1.4.1" +HOMEPAGE="https://git.kernel.org/cgit/utils/dtc/dtc.git" +DOWNLOAD="http://harrier.slackbuilds.org/misc/device-tree-compiler-1.4.1.tar.xz" +MD5SUM="e0b3eda06d038377626775aa53980d20" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |