blob: 7754f6ced6f7b86923db493cd2dce9c4d82dcdb4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=file
pkgver=5.03
pkgrel=0
pkgdesc="File type identification utility"
url="http://www.darwinsys.com/file/"
license="custom"
depends="uclibc zlib"
source="ftp://ftp.astron.com/pub/file/file-$pkgver.tar.gz
nocxx.patch"
subpackages="$pkgname-dev $pkgname-doc"
build ()
{
cd "$srcdir"/$pkgname-$pkgver
patch configure < ../nocxx.patch || return 1
./configure --prefix=/usr --datadir=/usr/share/misc
make || return 1
make DESTDIR="$pkgdir" install
}
md5sums="d05f08a53e5c2f51f8ee6a4758c0cc53 file-5.03.tar.gz
28513788ba4d556ccd538867dc6205ab nocxx.patch"
|