xbps-devel: renamed to xbps-git and add subpkgs.

This commit is contained in:
Juan RP 2012-07-06 16:59:20 +02:00
parent 57ae132d57
commit 714e3099d5
13 changed files with 64 additions and 13 deletions

1
srcpkgs/libxbps-devel-git Symbolic link
View File

@ -0,0 +1 @@
xbps-git

1
srcpkgs/libxbps-git Symbolic link
View File

@ -0,0 +1 @@
xbps-git

View File

@ -1 +0,0 @@
xbps-devel

View File

@ -0,0 +1,16 @@
# Template file for 'libxbps'.
#
short_desc="${short_desc} - runtime library (development files)"
long_desc="${long_desc}
This package contains the libxbps develoment files."
depends="libxbps-git>=$version"
provides="libxbps-devel-9999"
replaces="libxbps-devel>=0"
do_install() {
vmove usr/include usr
vmove "usr/lib/*.a" usr/lib
vmove usr/lib/pkgconfig usr/lib
}

View File

@ -3,7 +3,6 @@ libz.so.1
libpthread.so.0
libprop.so.0
libarchive.so.12
libconfuse.so.0
libcrypto.so.1
libc.so.6
libconfuse.so.0
librt.so.1

View File

@ -0,0 +1,13 @@
# Template file for 'libxbps'.
#
short_desc="${short_desc} - runtime library"
long_desc="${long_desc}
This package contains libxbps, the XBPS runtime shared library."
provides="libxbps-9999"
replaces="libxbps>=0 xbps-devel>=0"
do_install() {
vmove "usr/lib/*.so*" usr/lib
}

View File

@ -1,17 +1,17 @@
# Template file for 'xbps'
pkgname=xbps-devel
# Template file for 'xbps-git'
pkgname=xbps-git
version="$(date -u +%Y%m%d)"
revision=1
nofetch=yes
noextract=yes
build_style=configure
configure_args="--prefix=/ --exec-prefix=/usr --sbindir=/usr/sbin --with-pie --with-tests"
depends="xbps-triggers"
depends="xbps-triggers libxbps-git>=$version"
makedepends="git which pkg-config zlib-devel proplib-devel openssl-devel libarchive-devel libfetch-devel confuse-devel atf-devel"
conf_files="/etc/xbps/xbps.conf"
subpackages="$pkgname-static"
subpackages="libxbps-git libxbps-devel-git xbps-tests-git xbps-static-git"
provides="xbps-9999"
replaces="xbps>=0"
revision=1
replaces="xbps>=0 xbps-devel>=0"
short_desc="The XBPS package system (development branch)"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://code.google.com/p/xbps"

View File

@ -0,0 +1,5 @@
libpthread.so.0
libprop.so.0
librt.so.1
libxbps.so.0
libc.so.6

View File

@ -1,7 +1,7 @@
# Template file for 'xbps-devel-static'.
#
provides="xbps-static-9999"
replaces="xbps-static>=0"
replaces="xbps-static>=0 xbps-devel-static>=0"
depends="xbps-triggers"
short_desc="${sourcepkg} static binaries"
long_desc="${long_desc}
@ -10,8 +10,5 @@ long_desc="${long_desc}
used on any GNU/Linux distribution matching the architecture."
do_install() {
vmove usr/include usr
vmove "usr/sbin/*.static" usr/sbin
vmove "usr/lib/*.a" usr/lib
vmove usr/lib/pkgconfig usr/lib
}

View File

@ -0,0 +1,4 @@
libprop.so.0
libxbps.so.0
libpthread.so.0
libc.so.6

View File

@ -0,0 +1,14 @@
# Template file for 'xbps-tests'.
#
short_desc="${short_desc} - Kyua testsuite"
long_desc="${long_desc}
This package contains the Kyua testsuite."
depends="libxbps-git>=$version"
provides="xbps-tests-9999"
replaces="xbps-tests>=0"
do_install() {
vmove usr/tests usr
}

1
srcpkgs/xbps-static-git Symbolic link
View File

@ -0,0 +1 @@
xbps-git

1
srcpkgs/xbps-tests-git Symbolic link
View File

@ -0,0 +1 @@
xbps-git