From ad5a884c989af09075011d66f38cc3f4477e803b Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sat, 30 Jan 2010 15:35:51 +0100 Subject: [PATCH] xbps: update to 0.4. --HG-- extra : convert_revision : 8f907521dc05ad8f812c3d4e896885228a3efa7a --- srcpkgs/xbps/template | 15 ++++----------- srcpkgs/xbps/xbps-static.template | 1 + 2 files changed, 5 insertions(+), 11 deletions(-) diff --git a/srcpkgs/xbps/template b/srcpkgs/xbps/template index 3f2eeae8a0f..93d1efdd901 100644 --- a/srcpkgs/xbps/template +++ b/srcpkgs/xbps/template @@ -1,20 +1,19 @@ # Template file for 'xbps' pkgname=xbps -version=0.3 +version=0.4 distfiles="http://launchpad.net/xbps/head/$version/+download/xbps-$version.tar.gz" build_style=gnu_makefile -make_build_args="PREFIX=" -make_install_args="PREFIX=" +make_install_args="PREFIX= MANDIR=/usr/share/man INCLUDEDIR=/usr/include" short_desc="The XBPS package system utilities" maintainer="Juan RP " -checksum=ba9b1964779c78351241a71dc11f5c5a7323c53dd9387adce261cf1d0eb241cf +checksum=58fe1471901241116c4ca6bfc5ccf2ae2eff55fa917631658167c70b4733e1c8 long_desc=" The XBPS package system. A new, fast, from scratch and simple binary package manager. This package includes the binary utilities to be able to handle XBPS binary packages." -disable_parallel_build=yes subpackages="$pkgname-static" + Add_dependency run glibc Add_dependency run libarchive Add_dependency run proplib @@ -23,9 +22,3 @@ Add_dependency build libarchive-devel Add_dependency build proplib-devel Add_dependency build openssl-devel Add_dependency build asciidoc - -post_install() -{ - mkdir -p ${DESTDIR}/usr || return 1 - mv ${DESTDIR}/share ${DESTDIR}/usr || return 1 -} diff --git a/srcpkgs/xbps/xbps-static.template b/srcpkgs/xbps/xbps-static.template index 392434a13a1..9ec04536537 100644 --- a/srcpkgs/xbps/xbps-static.template +++ b/srcpkgs/xbps/xbps-static.template @@ -9,6 +9,7 @@ long_desc="${long_desc} do_install() { mkdir -p ${DESTDIR}/sbin ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr mv ${SRCPKGDESTDIR}/sbin/*.static ${DESTDIR}/sbin mv ${SRCPKGDESTDIR}/lib/*.a ${DESTDIR}/usr/lib }