mtd-utils: update to 2.0.0.
This commit is contained in:
parent
e5832ec23c
commit
38923d6ead
|
@ -1,26 +1,13 @@
|
|||
# Template build file for 'mtd-utils'.
|
||||
pkgname=mtd-utils
|
||||
version=1.5.2
|
||||
version=2.0.0
|
||||
revision=1
|
||||
build_style=gnu-configure
|
||||
hostmakedepends="pkg-config"
|
||||
makedepends="zlib-devel lzo-devel acl-devel libuuid-devel liblzma-devel"
|
||||
short_desc="Memory Technology Device Utilities"
|
||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||
license="GPL-2"
|
||||
homepage="http://www.linux-mtd.infradead.org/"
|
||||
distfiles="ftp://ftp.infradead.org/pub/mtd-utils/$pkgname-$version.tar.bz2"
|
||||
checksum=5db57389280a3abaec5dd23af2590988b70f213fa3929c12a2642c8f9a86f400
|
||||
|
||||
do_build() {
|
||||
if [ "$CROSS_BUILD" ]; then
|
||||
make CROSS=${XBPS_CROSS_TRIPLET}- ${makejobs}
|
||||
else
|
||||
make ${makejobs}
|
||||
fi
|
||||
}
|
||||
do_install() {
|
||||
if [ "$CROSS_BUILD" ]; then
|
||||
make CROSS=${XBPS_CROSS_TRIPLET}- DESTDIR=${DESTDIR} SBINDIR=/usr/bin install
|
||||
else
|
||||
make DESTDIR=${DESTDIR} SBINDIR=/usr/bin install
|
||||
fi
|
||||
}
|
||||
checksum=20a377aa86af4c102e930b0d0bb9859e3a10aeb16445f6a1273989b206a717c8
|
||||
|
|
Loading…
Reference in New Issue