aboutsummaryrefslogtreecommitdiffstats
path: root/main/cramfs/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/cramfs/APKBUILD')
-rw-r--r--main/cramfs/APKBUILD24
1 files changed, 24 insertions, 0 deletions
diff --git a/main/cramfs/APKBUILD b/main/cramfs/APKBUILD
new file mode 100644
index 0000000000..b4e5d83ab3
--- /dev/null
+++ b/main/cramfs/APKBUILD
@@ -0,0 +1,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"
+source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz"
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make CFLAGS="$CFLAGS" || return 1
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ install -d "$pkgdir"/sbin
+ install mkcramfs cramfsck "$pkgdir"/sbin
+}
+
+md5sums="d3912b9f7bf745fbfea68f6a9b9de30f cramfs-1.1.tar.gz"