mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-28 08:22:56 +02:00
sloccount: cross build support.
This commit is contained in:
parent
5e03a15243
commit
c15378c094
1 changed files with 6 additions and 9 deletions
|
@ -1,24 +1,21 @@
|
||||||
# Template build file for 'sloccount'
|
# Template build file for 'sloccount'
|
||||||
pkgname=sloccount
|
pkgname=sloccount
|
||||||
version=2.26
|
version=2.26
|
||||||
revision=1
|
revision=2
|
||||||
|
build_style=gnu-makefile
|
||||||
hostmakedepends="flex"
|
hostmakedepends="flex"
|
||||||
|
makedepends="perl"
|
||||||
depends="perl"
|
depends="perl"
|
||||||
short_desc="Tool to count physical source lines of code in many languages"
|
short_desc="Tool to count physical source lines of code in many languages"
|
||||||
maintainer="pancake <pancake@nopcode.org>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
license="GPL-2"
|
license="GPL-2"
|
||||||
homepage="http://www.dwheeler.com/sloccount/"
|
homepage="http://www.dwheeler.com/sloccount/"
|
||||||
distfiles="$homepage/$pkgname-$version.tar.gz"
|
distfiles="$homepage/$pkgname-$version.tar.gz"
|
||||||
checksum=fa7fa2bbf2f627dd2d0fdb958bd8ec4527231254c120a8b4322405d8a4e3d12b
|
checksum=fa7fa2bbf2f627dd2d0fdb958bd8ec4527231254c120a8b4322405d8a4e3d12b
|
||||||
|
|
||||||
do_build() {
|
|
||||||
make
|
|
||||||
}
|
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
vmkdir usr/bin
|
vmkdir usr/bin
|
||||||
make PREFIX=${DESTDIR}/usr install
|
make PREFIX=${DESTDIR}/usr install
|
||||||
mv ${DESTDIR}/usr/share/doc/sloccount-2.26-1 \
|
mv ${DESTDIR}/usr/share/doc/${pkgname}-${version}-1 ${DESTDIR}/usr/share/doc/${pkgname}
|
||||||
${DESTDIR}/usr/share/doc/sloccount
|
chmod 644 ${DESTDIR}/usr/share/doc/${pkgname}/*
|
||||||
chmod 644 ${DESTDIR}/usr/share/doc/sloccount/*
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue