diff --git a/common/shlibs b/common/shlibs index f70d9fe5290..5ec8d8af206 100644 --- a/common/shlibs +++ b/common/shlibs @@ -988,3 +988,4 @@ libsbc.so.1 sbc-1.0_1 libecryptfs.so.0 libecryptfs-100_1 libmuffin.so.0 libmuffin-1.0.6_1 libnuma.so.1 libnuma-2.0.7_1 +libxar.so.1 xar-1.5.2_1 diff --git a/srcpkgs/xar-devel b/srcpkgs/xar-devel new file mode 120000 index 00000000000..842e1e4d953 --- /dev/null +++ b/srcpkgs/xar-devel @@ -0,0 +1 @@ +xar \ No newline at end of file diff --git a/srcpkgs/xar/patches/configure_disable_rpath.patch b/srcpkgs/xar/patches/configure_disable_rpath.patch new file mode 100644 index 00000000000..2a98028eb23 --- /dev/null +++ b/srcpkgs/xar/patches/configure_disable_rpath.patch @@ -0,0 +1,11 @@ +--- configure.orig 2012-08-23 16:25:41.891044934 +0200 ++++ configure 2012-08-23 16:25:47.690906017 +0200 +@@ -3277,7 +3277,7 @@ case "${host}" in + CFLAGS="$CFLAGS" + abi="elf" + CPPFLAGS="$CPPFLAGS -D_GNU_SOURCE" +- RPATH="-Wl,-rpath," ++ RPATH="" + ;; + *-*-netbsd*) + echo "$as_me:$LINENO: checking ABI" >&5 diff --git a/srcpkgs/xar/template b/srcpkgs/xar/template new file mode 100644 index 00000000000..b25c5fadbd9 --- /dev/null +++ b/srcpkgs/xar/template @@ -0,0 +1,27 @@ +# Template file for 'xar' +pkgname=xar +version=1.5.2 +revision=1 +subpackages="xar-devel" +build_style=gnu-configure +configure_args="--disable-static" +makedepends="acl-devel libxml2-devel openssl-devel" +short_desc="eXtensible ARchiver format" +maintainer="Juan RP " +license="BSD" +homepage="https://code.google.com/p/xar" +distfiles="https://xar.googlecode.com/files/xar-${version}.tar.gz" +checksum=4c5d5682803cdfab16d72365cf51fc4075d597c5eeaa8c7d1990fea98cdae3e6 +long_desc=" + The XAR project aims to provide an easily extensible archive format. Important + design decisions include an easily extensible XML table of contents for random + access to archived files, storing the toc at the beginning of the archive to + allow for efficient handling of streamed archives, the ability to handle files + of arbitrarily large sizes, the ability to choose independent encodings for + individual files in the archive, the ability to store checksums for individual + files in both compressed and uncompressed form, and the ability to query the + table of content's rich meta-data." + +post_install() { + vinstall LICENSE 644 usr/share/licenses/xar +} diff --git a/srcpkgs/xar/xar-devel.template b/srcpkgs/xar/xar-devel.template new file mode 100644 index 00000000000..7f0117b21c1 --- /dev/null +++ b/srcpkgs/xar/xar-devel.template @@ -0,0 +1,12 @@ +# Template file for 'xar-devel'. +# +noarch=yes +depends="xar>=$version" +short_desc="${short_desc} -- development files" +long_desc="${long_desc} + + This package contains files for development, headers, static libs, etc." + +do_install() { + vmove usr/include usr +} diff --git a/srcpkgs/xar/xar.rshlibs b/srcpkgs/xar/xar.rshlibs new file mode 100644 index 00000000000..65ea245c9e8 --- /dev/null +++ b/srcpkgs/xar/xar.rshlibs @@ -0,0 +1,7 @@ +libbz2.so.1 +libz.so.1 +libcrypto.so.1 +libacl.so.1 +libxml2.so.2 +libm.so.6 +libc.so.6