diff options
Diffstat (limited to 'multimedia/mjpegtools/mjpegtools.SlackBuild')
-rw-r--r-- | multimedia/mjpegtools/mjpegtools.SlackBuild | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/multimedia/mjpegtools/mjpegtools.SlackBuild b/multimedia/mjpegtools/mjpegtools.SlackBuild index e7397670d2822..86d7b3e8790bf 100644 --- a/multimedia/mjpegtools/mjpegtools.SlackBuild +++ b/multimedia/mjpegtools/mjpegtools.SlackBuild @@ -57,6 +57,8 @@ chmod -R a-s,u+w,go+r-w . # Fix for x86_64 sed -i -e '/ARCHFLAGS=/s:=.*:=:' configure +patch -p1 < $CWD/mjpegtools-1.9.0-glibc-2.10.patch +patch -p0 < $CWD/mjpegtools-1.9.0-jpeg-7.patch CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ @@ -74,12 +76,8 @@ CXXFLAGS="$SLKCFLAGS" \ make make install DESTDIR=$PKG -( cd $PKG - find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \ - xargs strip --strip-unneeded 2> /dev/null || true - find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | \ - xargs strip --strip-unneeded 2> /dev/null -) +find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true ( cd $PKG/usr/man find . -type f -exec gzip -9 {} \; |