aboutsummaryrefslogtreecommitdiffstats
path: root/main/cramfs/APKBUILD
blob: 2fcb8d0fe68d3cd9e3e18325494b95cae472b8e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=cramfs
pkgver=1.1
pkgrel=2
pkgdesc="Linux filesystem designed to be simple, small, and to compress things well"
arch="all"
url="http://sourceforge.net/projects/cramfs/"
license='GPL'
depends=
makedepends="zlib-dev linux-headers"
source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz"

build() {
	cd "$srcdir/$pkgname-$pkgver"
	make CFLAGS="$CFLAGS -D_GNU_SOURCE" || return 1
}

package() {
	cd "$srcdir/$pkgname-$pkgver"
	install -d "$pkgdir"/sbin
	install mkcramfs cramfsck "$pkgdir"/sbin
}

md5sums="d3912b9f7bf745fbfea68f6a9b9de30f  cramfs-1.1.tar.gz"