xbps-devel: sync with reality.
This commit is contained in:
parent
6e48fd7062
commit
92e45932e1
2 changed files with 10 additions and 7 deletions
|
@ -1,8 +1,9 @@
|
||||||
# Template file for 'xbps'
|
# Template file for 'xbps'
|
||||||
pkgname=xbps-devel
|
pkgname=xbps-devel
|
||||||
version="$(date +%Y%m%d)"
|
version="$(date +%Y%m%d)"
|
||||||
build_style=gnu_makefile
|
build_style=configure
|
||||||
make_install_args="PREFIX= MANDIR=/usr/share/man"
|
configure_args="--prefix= --includedir=/usr/include
|
||||||
|
--datadir=/usr/share --mandir=/usr/share/man --with-pie"
|
||||||
short_desc="The XBPS package system (development branch)"
|
short_desc="The XBPS package system (development branch)"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
long_desc="
|
long_desc="
|
||||||
|
@ -16,15 +17,17 @@ nofetch=yes
|
||||||
noextract=yes
|
noextract=yes
|
||||||
|
|
||||||
Add_dependency run glibc
|
Add_dependency run glibc
|
||||||
|
Add_dependency run zlib
|
||||||
Add_dependency run libarchive
|
Add_dependency run libarchive
|
||||||
Add_dependency run openssl
|
Add_dependency run openssl
|
||||||
Add_dependency build bzr
|
Add_dependency build mercurial
|
||||||
Add_dependency build asciidoc
|
Add_dependency build zlib-devel
|
||||||
Add_dependency build libarchive-devel
|
Add_dependency build libarchive-devel
|
||||||
Add_dependency build openssl-devel
|
Add_dependency build openssl-devel
|
||||||
|
|
||||||
do_fetch()
|
do_fetch()
|
||||||
{
|
{
|
||||||
msg_normal "Fetching source from launchpad:xbps head branch..."
|
msg_normal "Fetching source from http://xbps.googlecode.com/hg..."
|
||||||
bzr branch lp:xbps ${pkgname}-${version} 2>/dev/null || return 1
|
hg clone http://xbps.googlecode.com/hg \
|
||||||
|
${pkgname}-${version} 2>/dev/null || return 1
|
||||||
}
|
}
|
||||||
|
|
|
@ -11,7 +11,7 @@ replaces="xbps-static"
|
||||||
do_install()
|
do_install()
|
||||||
{
|
{
|
||||||
mkdir -p ${DESTDIR}/sbin ${DESTDIR}/usr/lib
|
mkdir -p ${DESTDIR}/sbin ${DESTDIR}/usr/lib
|
||||||
mv ${SRCPKGDESTDIR}/include ${DESTDIR}/usr/include
|
mv ${SRCPKGDESTDIR}/include ${DESTDIR}/usr
|
||||||
mv ${SRCPKGDESTDIR}/sbin/*.static ${DESTDIR}/sbin
|
mv ${SRCPKGDESTDIR}/sbin/*.static ${DESTDIR}/sbin
|
||||||
mv ${SRCPKGDESTDIR}/lib/*.a ${DESTDIR}/usr/lib
|
mv ${SRCPKGDESTDIR}/lib/*.a ${DESTDIR}/usr/lib
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue