void-packages/srcpkgs/xbps-devel/template

49 lines
1.4 KiB
Plaintext
Raw Normal View History

# 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
--datadir=/usr/share --mandir=/usr/share/man --with-pie"
short_desc="The XBPS package system (development branch)"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://code.google.com/p/xbps"
license="BSD"
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"
conf_files="/etc/xbps/conf.plist /etc/xbps/repositories.plist"
subpackages="$pkgname-static"
provides="xbps-9999"
replaces="xbps>=0"
nofetch=yes
noextract=yes
Add_dependency run xbps-triggers
Add_dependency run glibc
2010-05-19 22:45:31 +02:00
Add_dependency run zlib
Add_dependency run proplib
Add_dependency run libarchive
Add_dependency run libssl
Add_dependency run libfetch
Add_dependency build git
Add_dependency build pkg-config
2010-05-19 22:45:31 +02:00
Add_dependency build zlib-devel
Add_dependency build proplib-devel
Add_dependency build libarchive-devel
Add_dependency build openssl-devel
Add_dependency build libfetch-devel
do_fetch() {
local url="git://github.com/xtraeme/xbps"
msg_normal " Fetching source from $url ...\n"
git clone ${url} ${pkgname}-${version}
}
post_install() {
vinstall ${FILESDIR}/virtualpkg.d/xbps-devel.plist \
644 etc/xbps/virtualpkg.d
}