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
|
|
|
|
configure_args="--prefix= --includedir=/usr/include
|
|
|
|
--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>"
|
|
|
|
long_desc="
|
|
|
|
The XBPS package system. A new, fast, from scratch and simple
|
|
|
|
binary package manager. This packages includes code from a development
|
|
|
|
branch available from https://launchpad.net/xbps"
|
|
|
|
|
2009-11-26 04:26:31 +01:00
|
|
|
subpackages="$pkgname-static"
|
2009-11-07 12:13:39 +01:00
|
|
|
replaces="xbps"
|
|
|
|
nofetch=yes
|
|
|
|
noextract=yes
|
|
|
|
|
2010-01-13 19:41:47 +01:00
|
|
|
Add_dependency run glibc
|
2010-05-19 22:45:31 +02:00
|
|
|
Add_dependency run zlib
|
2010-01-13 19:41:47 +01:00
|
|
|
Add_dependency run libarchive
|
|
|
|
Add_dependency run openssl
|
2010-05-19 22:45:31 +02:00
|
|
|
Add_dependency build mercurial
|
|
|
|
Add_dependency build zlib-devel
|
2010-01-13 19:41:47 +01:00
|
|
|
Add_dependency build libarchive-devel
|
|
|
|
Add_dependency build openssl-devel
|
2009-11-07 12:13:39 +01:00
|
|
|
|
|
|
|
do_fetch()
|
|
|
|
{
|
2010-05-19 22:45:31 +02:00
|
|
|
msg_normal "Fetching source from http://xbps.googlecode.com/hg..."
|
|
|
|
hg clone http://xbps.googlecode.com/hg \
|
|
|
|
${pkgname}-${version} 2>/dev/null || return 1
|
2009-11-07 12:13:39 +01:00
|
|
|
}
|