diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2015-08-17 15:56:10 +0200 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2015-08-17 16:05:38 +0200 |
commit | 8b09bd9e9c477d5253214d8429943cb76d304327 (patch) | |
tree | aa7f8f4a9fad1e58c0f5842c40d0626f56500e40 | |
parent | 3ca4d5a04ac3d7bf7a9e2d3de8218b70794015dd (diff) | |
download | aports-8b09bd9e9c477d5253214d8429943cb76d304327.tar.bz2 aports-8b09bd9e9c477d5253214d8429943cb76d304327.tar.xz |
main/f2fs-tools: add -dev subpackage and split -libs
-rw-r--r-- | main/f2fs-tools/APKBUILD | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/main/f2fs-tools/APKBUILD b/main/f2fs-tools/APKBUILD index 41ed54f93f..bf70b465cf 100644 --- a/main/f2fs-tools/APKBUILD +++ b/main/f2fs-tools/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=f2fs-tools pkgver=1.4.1 -pkgrel=0 +pkgrel=1 pkgdesc="Tools for Flash-Friendly File System (F2FS)" url="http://git.kernel.org/cgit/linux/kernel/git/jaegeuk/f2fs-tools.git" arch="all" @@ -11,7 +11,7 @@ depends_dev="" makedepends="$depends_dev automake autoconf libtool util-linux-dev linux-headers bsd-compat-headers" install="" -subpackages="$pkgname-doc" +subpackages="$pkgname-doc $pkgname-dev $pkgname-libs" #source="http://git.kernel.org/cgit/linux/kernel/git/jaegeuk/f2fs-tools.git/snapshot/f2fs-tools-$pkgver.tar.gz" source="http://dev.alpinelinux.org/archive/f2fs-tools/f2fs-tools-$pkgver.tar.gz " @@ -62,6 +62,9 @@ package() { cd "$_builddir" make install DESTDIR="$pkgdir" || return 1 rm "$pkgdir"/usr/lib/*.la + mkdir -p "$pkgdir"/usr/include + install -m 644 include/f2fs_fs.h mkfs/f2fs_format_utils.h \ + "$pkgdir"/usr/include/ || return 1 } md5sums="f40e7aaafe0462970cc240b8c7f6907e f2fs-tools-1.4.1.tar.gz" |