2009-11-07 11:13:39 +00:00
|
|
|
# Template file for 'xbps'
|
|
|
|
pkgname=xbps-devel
|
|
|
|
version="$(date +%Y%m%d)"
|
2010-05-19 20:45:31 +00:00
|
|
|
build_style=configure
|
2010-05-20 01:28:41 +00:00
|
|
|
configure_args="--prefix=/ --includedir=/usr/include
|
2011-01-12 16:17:43 +00:00
|
|
|
--datadir=/usr/share --mandir=/usr/share/man --with-pie
|
|
|
|
--with-external-proplib --with-external-libfetch"
|
2009-11-07 11:13:39 +00: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 03:26:31 +00:00
|
|
|
subpackages="$pkgname-static"
|
2009-11-07 11:13:39 +00:00
|
|
|
replaces="xbps"
|
|
|
|
nofetch=yes
|
|
|
|
noextract=yes
|
|
|
|
|
2010-01-13 18:41:47 +00:00
|
|
|
Add_dependency run glibc
|
2010-05-19 20:45:31 +00:00
|
|
|
Add_dependency run zlib
|
2011-01-12 16:17:43 +00:00
|
|
|
Add_dependency run proplib
|
2010-01-13 18:41:47 +00:00
|
|
|
Add_dependency run libarchive
|
2010-11-02 07:31:35 +00:00
|
|
|
Add_dependency run libssl
|
2011-01-12 16:17:43 +00:00
|
|
|
Add_dependency run libfetch
|
2011-01-12 16:18:31 +00:00
|
|
|
Add_dependency build pkg-config
|
2010-05-19 20:45:31 +00:00
|
|
|
Add_dependency build mercurial
|
|
|
|
Add_dependency build zlib-devel
|
2011-01-12 16:17:43 +00:00
|
|
|
Add_dependency build proplib-devel
|
2010-01-13 18:41:47 +00:00
|
|
|
Add_dependency build libarchive-devel
|
|
|
|
Add_dependency build openssl-devel
|
2011-01-12 16:17:43 +00:00
|
|
|
Add_dependency build libfetch-devel
|
2009-11-07 11:13:39 +00:00
|
|
|
|
|
|
|
do_fetch()
|
|
|
|
{
|
2010-12-19 23:22:12 +00:00
|
|
|
local url="http://xbps.googlecode.com/hg"
|
|
|
|
msg_normal " Fetching source from $url ...\n"
|
|
|
|
hg clone $url ${pkgname}-${version} 2>/dev/null
|
2009-11-07 11:13:39 +00:00
|
|
|
}
|