From 80d20dbcfb82cdd5e4e699b1325d39b890a50e32 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sat, 12 Dec 2009 11:58:50 +0100 Subject: [PATCH] xbps: update to 0.3. --HG-- extra : convert_revision : 33b6766d185744a1a92e79e67854b349b558a650 --- srcpkgs/xbps-static | 1 + srcpkgs/xbps/template | 30 +++++++++++++++++++++--------- srcpkgs/xbps/xbps-static.template | 14 ++++++++++++++ 3 files changed, 36 insertions(+), 9 deletions(-) create mode 120000 srcpkgs/xbps-static create mode 100644 srcpkgs/xbps/xbps-static.template diff --git a/srcpkgs/xbps-static b/srcpkgs/xbps-static new file mode 120000 index 00000000000..9274d81bf02 --- /dev/null +++ b/srcpkgs/xbps-static @@ -0,0 +1 @@ +xbps \ No newline at end of file diff --git a/srcpkgs/xbps/template b/srcpkgs/xbps/template index 12badeb19c9..c9ff1b68b8e 100644 --- a/srcpkgs/xbps/template +++ b/srcpkgs/xbps/template @@ -1,18 +1,30 @@ # Template file for 'xbps' pkgname=xbps -version=0.2 +version=0.3 distfiles="http://launchpad.net/xbps/head/$version/+download/xbps-$version.tar.gz" build_style=gnu_makefile -make_install_target="DESTDIR=$XBPS_DESTDIR/$pkgname-$version PREFIX= install" -short_desc="The XBPS package system" +make_build_args="DESTDIR=$XBPS_DESTDIR/$pkgname-$version PREFIX=" +make_install_args="DESTDIR=$XBPS_DESTDIR/$pkgname-$version PREFIX=" +short_desc="The XBPS package system utilities" maintainer="Juan RP " -checksum=1c68380ccfa163713bb19661b9e50219daa0972ba55c1973fffb7035898154d8 +checksum=ba9b1964779c78351241a71dc11f5c5a7323c53dd9387adce261cf1d0eb241cf long_desc=" The XBPS package system. A new, fast, from scratch and simple - binary package manager." + binary package manager. This package includes the binary utilities + to be able to handle XBPS binary packages." -conf_files="/etc/xbps-src.conf" +subpackages="$pkgname-static" +Add_dependency run glibc +Add_dependency run libarchive +Add_dependency run proplib +Add_dependency run openssl +Add_dependency build libarchive-devel +Add_dependency build proplib-devel +Add_dependency build openssl-devel +Add_dependency build asciidoc -Add_dependency full glibc -Add_dependency full libarchive -Add_dependency full proplib +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 new file mode 100644 index 00000000000..392434a13a1 --- /dev/null +++ b/srcpkgs/xbps/xbps-static.template @@ -0,0 +1,14 @@ +# Template file for 'xbps-static'. +# +short_desc="${sourcepkg} static binaries" +long_desc="${long_desc} + + This package contains the static binaries and library, that can be + used on any GNU/Linux distribution matching the architecture." + +do_install() +{ + mkdir -p ${DESTDIR}/sbin ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/sbin/*.static ${DESTDIR}/sbin + mv ${SRCPKGDESTDIR}/lib/*.a ${DESTDIR}/usr/lib +}