xbps-devel: update for github, fix build.

This commit is contained in:
Juan RP 2011-07-02 18:03:22 +02:00
parent 3bb5c279df
commit 1e7f7b5f00
1 changed files with 5 additions and 4 deletions

View File

@ -2,7 +2,8 @@
pkgname=xbps-devel
version="$(date +%Y%m%d)"
build_style=configure
configure_script="env LDFLAGS= ./configure"
build_wrksrc="xbps"
configure_script="LDFLAGS= ./configure"
configure_args="--prefix=/ --includedir=/usr/include
--datadir=/usr/share --mandir=/usr/share/man --with-pie
--with-external-proplib --with-external-libfetch"
@ -29,8 +30,8 @@ Add_dependency run libarchive
Add_dependency run libssl
Add_dependency run libfetch
Add_dependency build git
Add_dependency build pkg-config
Add_dependency build mercurial
Add_dependency build zlib-devel
Add_dependency build proplib-devel
Add_dependency build libarchive-devel
@ -39,7 +40,7 @@ Add_dependency build libfetch-devel
do_fetch()
{
local url="http://xbps.googlecode.com/hg"
local url="git://github.com/xtraeme/xbps"
msg_normal " Fetching source from $url ...\n"
hg clone $url ${pkgname}-${version}
cd ${wrksrc} && git clone $url
}