blob: e1943b26678b987cd7bf5ddfbd6f178b6fa0769e (
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.01
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="e492d6309728ace56b113de1960e3024 file-5.01.tar.gz
28513788ba4d556ccd538867dc6205ab nocxx.patch"
|