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
|
2011-07-02 16:03:22 +00:00
|
|
|
build_wrksrc="xbps"
|
|
|
|
configure_script="LDFLAGS= ./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>"
|
2011-06-04 15:35:13 +00:00
|
|
|
homepage="http://code.google.com/p/xbps"
|
|
|
|
license="BSD"
|
2009-11-07 11:13:39 +00:00
|
|
|
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"
|
|
|
|
|
2011-06-04 15:35:13 +00:00
|
|
|
conf_files="/etc/xbps-conf.plist"
|
2009-11-26 03:26:31 +00:00
|
|
|
subpackages="$pkgname-static"
|
2011-02-01 00:30:09 +00:00
|
|
|
provides="xbps-9999"
|
|
|
|
replaces="xbps>=0"
|
2009-11-07 11:13:39 +00:00
|
|
|
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-06-04 15:35:13 +00:00
|
|
|
|
2011-07-02 16:03:22 +00:00
|
|
|
Add_dependency build git
|
2011-01-12 16:18:31 +00:00
|
|
|
Add_dependency build pkg-config
|
2010-05-19 20:45:31 +00:00
|
|
|
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
|
2011-07-03 01:41:52 +00:00
|
|
|
Add_dependency build pkg-config
|
2009-11-07 11:13:39 +00:00
|
|
|
|
|
|
|
do_fetch()
|
|
|
|
{
|
2011-07-02 16:03:22 +00:00
|
|
|
local url="git://github.com/xtraeme/xbps"
|
2010-12-19 23:22:12 +00:00
|
|
|
msg_normal " Fetching source from $url ...\n"
|
2011-07-02 16:03:22 +00:00
|
|
|
cd ${wrksrc} && git clone $url
|
2009-11-07 11:13:39 +00:00
|
|
|
}
|