2012-02-28 11:26:57 +01:00
|
|
|
# Template file for 'chroot-file'
|
|
|
|
pkgname=chroot-file
|
2013-12-10 14:58:36 +01:00
|
|
|
version=5.16
|
2013-09-25 12:14:23 +02:00
|
|
|
revision=1
|
2012-02-28 11:26:57 +01:00
|
|
|
wrksrc="file-${version}"
|
2013-12-10 14:58:36 +01:00
|
|
|
bootstrap=yes
|
2012-02-28 11:26:57 +01:00
|
|
|
build_style=gnu-configure
|
2012-05-23 18:26:56 +02:00
|
|
|
makedepends="zlib-devel"
|
2012-02-28 11:26:57 +01:00
|
|
|
short_desc="File type identification utility -- for xbps-src use"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
|
|
homepage="http://www.darwinsys.com/file/"
|
|
|
|
license="BSD"
|
2013-02-11 14:12:56 +01:00
|
|
|
distfiles="ftp://ftp.astron.com/pub/file/file-$version.tar.gz"
|
2013-12-10 14:58:36 +01:00
|
|
|
checksum=48bcac7726c37a8a0bc7ffa16b58993575657dd7b382039380fb3b74ab389261
|
2012-02-28 11:26:57 +01:00
|
|
|
|
|
|
|
post_install() {
|
2012-02-28 22:09:42 +01:00
|
|
|
rm -rf ${DESTDIR}/usr/share/man
|
2012-02-28 11:26:57 +01:00
|
|
|
}
|
2013-04-12 08:55:23 +02:00
|
|
|
|
|
|
|
chroot-file_package() {
|
|
|
|
noverifyrdeps=yes
|
2013-12-10 14:58:36 +01:00
|
|
|
for f in file file-devel libmagic; do
|
|
|
|
conflicts+="${f}>=0 "
|
|
|
|
provides+="${f}-${version}_${revision} "
|
|
|
|
done
|
2013-04-12 08:55:23 +02:00
|
|
|
pkg_install() {
|
2013-09-25 12:14:23 +02:00
|
|
|
vmove all
|
2013-04-12 08:55:23 +02:00
|
|
|
}
|
|
|
|
}
|