diff --git a/srcpkgs/apr-devel b/srcpkgs/apr-devel new file mode 120000 index 00000000000..44d791e08f9 --- /dev/null +++ b/srcpkgs/apr-devel @@ -0,0 +1 @@ +apr \ No newline at end of file diff --git a/srcpkgs/apr/apr-devel.template b/srcpkgs/apr/apr-devel.template new file mode 100644 index 00000000000..5bdec1ec302 --- /dev/null +++ b/srcpkgs/apr/apr-devel.template @@ -0,0 +1,18 @@ +# Template file for 'apr-devel'. +# +short_desc="${short_desc} - development files" +long_desc=" + ${long_desc} + + This packages contains files for development, static files, headers, etc." + +Add_dependency run libuuid-devel +Add_dependency run apr + +do_install() +{ + mkdir -p ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/lib/*.{a,exp} ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/{include,bin,share} ${DESTDIR}/usr +} diff --git a/srcpkgs/apr/depends b/srcpkgs/apr/depends new file mode 100644 index 00000000000..d4db4c87cf2 --- /dev/null +++ b/srcpkgs/apr/depends @@ -0,0 +1,2 @@ +abi_depends=">=1.4.2" +api_depends="${abi_depends}" diff --git a/srcpkgs/apr/template b/srcpkgs/apr/template new file mode 100644 index 00000000000..a9178840a6c --- /dev/null +++ b/srcpkgs/apr/template @@ -0,0 +1,20 @@ +# Template file for 'apr' +pkgname=apr +version=1.4.2 +distfiles="http://www.apache.org/dist/apr/apr-${version}.tar.bz2" +build_style=gnu_configure +configure_args="--with-devrandom=/dev/urandom +--with-installbuilddir=/usr/share/apr-1/build" +short_desc="Apache Portable Runtime Library" +maintainer="Juan RP " +checksum=2017ca700694d09d2b0b21dd7c4d195e43a48735aac88526160c6195ee8f5391 +long_desc=" + APR is Apache's Portable Runtime Library, designed to be a support library + that provides a predictable and consistent interface to underlying + platform-specific implementations." + +subpackages="apr-devel" + +Add_dependency run glibc +Add_dependency run libuuid +Add_dependency build libuuid-devel diff --git a/xbps-src/common/mapping_shlib_binpkg.txt b/xbps-src/common/mapping_shlib_binpkg.txt index 89f41e01c00..f3e3697e8dd 100644 --- a/xbps-src/common/mapping_shlib_binpkg.txt +++ b/xbps-src/common/mapping_shlib_binpkg.txt @@ -627,3 +627,4 @@ libLLVM-2.7.so llvm llvm-devel libLLVMHello.so llvm llvm-devel libLTO.so llvm llvm-devel libprofile_rt.so llvm llvm-devel +libapr-1.so apr apr-devel