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-01-12 17:17:43 +01:00
|
|
|
--datadir=/usr/share --mandir=/usr/share/man --with-pie
|
|
|
|
--with-external-proplib --with-external-libfetch"
|
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
|
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-01-12 17:18:31 +01:00
|
|
|
Add_dependency build pkg-config
|
2010-05-19 22:45:31 +02:00
|
|
|
Add_dependency build mercurial
|
|
|
|
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
|
|
|
|
|
|
|
do_fetch()
|
|
|
|
{
|
2010-12-20 00:22:12 +01: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 12:13:39 +01:00
|
|
|
}
|