diff options
author | Patrick J Volkerding <volkerdi@slackware.com> | 2013-11-04 17:08:47 +0000 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2018-05-31 22:57:36 +0200 |
commit | 76fc4757ac91ac7947a01fb7b53dddf9a78a01d1 (patch) | |
tree | 9b98e6e193c7870cb27ac861394c1c4592850922 /source/l/libzip | |
parent | 9664bee729d487bcc0a0bc35859f8e13d5421c75 (diff) | |
download | current-76fc4757ac91ac7947a01fb7b53dddf9a78a01d1.tar.gz current-76fc4757ac91ac7947a01fb7b53dddf9a78a01d1.tar.xz |
Slackware 14.1slackware-14.1
Mon Nov 4 17:08:47 UTC 2013
Slackware 14.1 x86_64 stable is released!
It's been another interesting release cycle here at Slackware bringing
new features like support for UEFI machines, updated compilers and
development tools, the switch from MySQL to MariaDB, and many more
improvements throughout the system. Thanks to the team, the upstream
developers, the dedicated Slackware community, and everyone else who
pitched in to help make this release a reality.
The ISOs are off to be replicated, a 6 CD-ROM 32-bit set and a
dual-sided
32-bit/64-bit x86/x86_64 DVD. Please consider supporting the Slackware
project by picking up a copy from store.slackware.com. We're taking
pre-orders now, and offer a discount if you sign up for a subscription.
Have fun! :-)
Diffstat (limited to 'source/l/libzip')
-rwxr-xr-x | source/l/libzip/libzip.SlackBuild | 38 | ||||
-rw-r--r-- | source/l/libzip/libzip.info | 5 |
2 files changed, 13 insertions, 30 deletions
diff --git a/source/l/libzip/libzip.SlackBuild b/source/l/libzip/libzip.SlackBuild index d7103a30d..a841127ee 100755 --- a/source/l/libzip/libzip.SlackBuild +++ b/source/l/libzip/libzip.SlackBuild @@ -1,6 +1,6 @@ #!/bin/sh -# Copyright 2007 Heinz Wiesinger <hmwiesinger@gmx.at> +# Copyright 2007, 2013 Heinz Wiesinger, Amsterdam, The Netherlands # Copyright 2008, 2009, 2010 Patrick J. Volkerding, Sebeka, MN, USA # All rights reserved. # @@ -76,39 +76,27 @@ CXXFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ + --includedir=/usr/include \ --sysconfdir=/etc \ --localstatedir=/var \ --mandir=/usr/man \ --disable-static \ --build=$ARCH-slackware-linux +# Fix symbolic linking for manpages +sed -i "s|\${LN}|\${LN_S}|g" man/Makefile +sed -i "s|\${LN_S} \${DESTDIR}\${man3dir}/|\${LN_S} |" man/Makefile + make $NUMJOBS || make || exit 1 make install DESTDIR=$PKG || exit 1 -# This installs hardlinked manpages, bleh! -( cd $PKG/usr/man/man3 - # Break links by duplicating the files. - for file in *.3 ; do - cp -a $file tmp - rm $file - mv tmp $file - done -) -# Make symlinks instead: -( cd $PKG/usr/man/man3 - rm -rf zip_strerror.3 - ln -sf zip_file_strerror.3 zip_strerror.3 - rm -rf zip_replace.3 - ln -sf zip_add.3 zip_replace.3 - rm -rf zip_stat_index.3 - ln -sf zip_stat.3 zip_stat_index.3 - rm -rf zip_fopen_index.3 - ln -sf zip_fopen.3 zip_fopen_index.3 - rm -rf zip_file_error_get.3 - ln -sf zip_error_get.3 zip_file_error_get.3 - rm -rf zip_file_error_clear.3 - ln -sf zip_error_clear.3 zip_file_error_clear.3 -) +# While I perhaps see the motive for putting platform-specific include files +# in a place where they won't collide, the fact is that this breaks anything +# currently using libzip. Adding a link to the standard include directory +# mostly fixes this, but it is still not optimal. It's likely to cause +# problems on multilib systems, for example (but like that whole thing isn't +# an even uglier hack). +( cd $PKG/usr/include ; ln -sf ../lib${LIBDIRSUFFIX}/libzip/include/zipconf.h . ) find $PKG | xargs file | grep -e "executable" -e "shared object" \ | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null diff --git a/source/l/libzip/libzip.info b/source/l/libzip/libzip.info deleted file mode 100644 index 419b34ac3..000000000 --- a/source/l/libzip/libzip.info +++ /dev/null @@ -1,5 +0,0 @@ -PRGNAM="libzip" -VERSION="0.8" -HOMEPAGE="http://www.nih.at/libzip/" -DOWNLOAD="http://www.nih.at/libzip/libzip-0.8.tar.gz" -MD5SUM="b0087c2a12b312f8ec2df1052b2acb4f" |