2012-07-06 15:22:51 +02:00
|
|
|
# Template build file for 'xbps-src-utils'.
|
|
|
|
pkgname=xbps-src-utils
|
2013-07-11 19:23:41 +02:00
|
|
|
version=20130711
|
|
|
|
revision=1
|
2012-07-06 17:02:44 +02:00
|
|
|
homepage="https://github.com/davehome/xbps-src-utils"
|
2013-03-24 10:21:58 +01:00
|
|
|
hostmakedepends="pkg-config flex"
|
2013-07-05 08:29:46 +02:00
|
|
|
makedepends="libxbps-devel>=0.25"
|
2012-07-06 15:22:51 +02:00
|
|
|
short_desc="Various tools for xbps-src in C (like repo-checkvers)"
|
|
|
|
maintainer="davehome <davehome@redthumb.info.tm>"
|
2012-07-31 08:32:45 +02:00
|
|
|
license="Simplified BSD"
|
2012-07-06 15:22:51 +02:00
|
|
|
long_desc="
|
|
|
|
Various tools for xbps-src in C (like repo-checkvers)
|
|
|
|
|
|
|
|
* The xbps-repo-checkvers program shows which XBPS binary packages need to be
|
|
|
|
rebuilt on your system by comparing the versions of the binary packages which
|
|
|
|
are available in the XBPS repositories registered in your xbps.conf with the
|
|
|
|
latest available versions of them in the source package tree."
|
|
|
|
|
|
|
|
nofetch=yes
|
|
|
|
noextract=yes
|
2013-02-21 22:31:50 +01:00
|
|
|
|
2013-04-14 18:42:25 +02:00
|
|
|
if [ "$CROSS_BUILD" ]; then
|
|
|
|
makedepends+=" libfl-devel"
|
|
|
|
fi
|
|
|
|
|
2012-07-06 15:22:51 +02:00
|
|
|
do_fetch() {
|
2012-07-06 17:02:44 +02:00
|
|
|
local url="git://github.com/davehome/xbps-src-utils.git"
|
2012-07-06 15:22:51 +02:00
|
|
|
msg_normal " Fetching source from $url ...\n"
|
|
|
|
git clone ${url} ${pkgname}-${version}
|
2013-02-21 22:31:50 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
do_configure() {
|
2013-07-05 08:29:46 +02:00
|
|
|
./configure --prefix=/usr --etcdir=/etc
|
2013-02-21 22:31:50 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
do_build() {
|
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
do_install() {
|
|
|
|
make DESTDIR=${DESTDIR} install
|
2012-07-06 15:22:51 +02:00
|
|
|
}
|
2013-04-14 18:42:25 +02:00
|
|
|
|
|
|
|
xbps-src-utils_package() {
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr
|
|
|
|
}
|
|
|
|
}
|