2009-11-07 12:13:39 +01:00
|
|
|
# Template file for 'xbps'
|
|
|
|
pkgname=xbps-devel
|
|
|
|
version="$(date +%Y%m%d)"
|
2010-05-19 22:45:31 +02:00
|
|
|
build_style=configure
|
2010-05-20 03:28:41 +02:00
|
|
|
configure_args="--prefix=/ --includedir=/usr/include
|
2011-07-29 12:58:03 +02:00
|
|
|
--datadir=/usr/share --mandir=/usr/share/man --with-pie"
|
2009-11-07 12:13:39 +01:00
|
|
|
short_desc="The XBPS package system (development branch)"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2011-06-04 17:35:13 +02:00
|
|
|
homepage="http://code.google.com/p/xbps"
|
|
|
|
license="BSD"
|
2009-11-07 12:13:39 +01:00
|
|
|
long_desc="
|
|
|
|
The XBPS package system. A new, fast, from scratch and simple
|
|
|
|
binary package manager. This packages includes code from a development
|
2011-07-08 23:32:43 +02:00
|
|
|
branch available from https://github.com/xtraeme/xbps"
|
2009-11-07 12:13:39 +01:00
|
|
|
|
2011-10-17 18:29:12 +02:00
|
|
|
conf_files="/etc/xbps/conf.plist /etc/xbps/repositories.plist"
|
2009-11-26 04:26:31 +01:00
|
|
|
subpackages="$pkgname-static"
|
2011-02-01 01:30:09 +01:00
|
|
|
provides="xbps-9999"
|
|
|
|
replaces="xbps>=0"
|
2009-11-07 12:13:39 +01:00
|
|
|
nofetch=yes
|
|
|
|
noextract=yes
|
|
|
|
|
2011-07-11 10:24:18 +02:00
|
|
|
Add_dependency run xbps-triggers
|
2010-01-13 19:41:47 +01:00
|
|
|
Add_dependency run glibc
|
2010-05-19 22:45:31 +02:00
|
|
|
Add_dependency run zlib
|
2011-01-12 17:17:43 +01:00
|
|
|
Add_dependency run proplib
|
2010-01-13 19:41:47 +01:00
|
|
|
Add_dependency run libarchive
|
2010-11-02 08:31:35 +01:00
|
|
|
Add_dependency run libssl
|
2011-01-12 17:17:43 +01:00
|
|
|
Add_dependency run libfetch
|
2011-06-04 17:35:13 +02:00
|
|
|
|
2011-07-02 18:03:22 +02:00
|
|
|
Add_dependency build git
|
2011-01-12 17:18:31 +01:00
|
|
|
Add_dependency build pkg-config
|
2010-05-19 22:45:31 +02:00
|
|
|
Add_dependency build zlib-devel
|
2011-01-12 17:17:43 +01:00
|
|
|
Add_dependency build proplib-devel
|
2010-01-13 19:41:47 +01:00
|
|
|
Add_dependency build libarchive-devel
|
|
|
|
Add_dependency build openssl-devel
|
2011-01-12 17:17:43 +01:00
|
|
|
Add_dependency build libfetch-devel
|
2009-11-07 12:13:39 +01:00
|
|
|
|
2011-10-14 19:24:20 +02:00
|
|
|
do_fetch() {
|
2011-07-02 18:03:22 +02:00
|
|
|
local url="git://github.com/xtraeme/xbps"
|
2010-12-20 00:22:12 +01:00
|
|
|
msg_normal " Fetching source from $url ...\n"
|
2011-10-14 19:24:20 +02:00
|
|
|
git clone ${url} ${pkgname}-${version}
|
2009-11-07 12:13:39 +01:00
|
|
|
}
|
2011-10-17 18:29:12 +02:00
|
|
|
|
|
|
|
post_install() {
|
|
|
|
vinstall ${FILESDIR}/virtualpkg.d/xbps-devel.plist \
|
|
|
|
644 etc/xbps/virtualpkg.d
|
|
|
|
}
|