mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-03 07:42:10 +01:00
Since abuild v2.22.0, these are removed automatically unless 'libtool' option has been specified.
53 lines
1.6 KiB
Plaintext
53 lines
1.6 KiB
Plaintext
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
|
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=libuniso
|
|
pkgver=0.1
|
|
pkgrel=1
|
|
pkgdesc="Library to unpack files from CDROM (ISO-9660) images"
|
|
url="http://code.google.com/p/libuniso"
|
|
arch="all"
|
|
license="LGPLv2.1"
|
|
depends=""
|
|
depends_dev=""
|
|
makedepends="lua-dev"
|
|
install=""
|
|
subpackages="$pkgname-dev lua-uniso:_lua"
|
|
source="http://libuniso.googlecode.com/files/libuniso-$pkgver.tar.bz2
|
|
musl-missing-typesh.patch"
|
|
|
|
_builddir="$srcdir"/libuniso-$pkgver
|
|
prepare() {
|
|
local i
|
|
cd "$_builddir"
|
|
for i in $source; do
|
|
case $i in
|
|
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
|
|
esac
|
|
done
|
|
}
|
|
|
|
build() {
|
|
cd "$_builddir"
|
|
echo ENABLE_LUA=yes > config.mk
|
|
echo ENABLE_SHARED=yes >> config.mk
|
|
make || return 1
|
|
}
|
|
|
|
package() {
|
|
cd "$_builddir"
|
|
make DESTDIR="$pkgdir" install || return 1
|
|
}
|
|
|
|
_lua() {
|
|
pkgdesc="Lua module for libuniso"
|
|
mkdir -p "$subpkgdir"/usr/lib
|
|
mv "$pkgdir"/usr/lib/lua "$subpkgdir"/usr/lib/
|
|
}
|
|
|
|
md5sums="9c1e65ceecce5786ff33c5dd82bea897 libuniso-0.1.tar.bz2
|
|
e0948a860bbc3d93bfa7ebf25e0440ec musl-missing-typesh.patch"
|
|
sha256sums="fc6a80200d6f8b20a99cd888cbcb0d55c8b45c5a3a6b540b99bbedb54a0248ad libuniso-0.1.tar.bz2
|
|
9840e7c7a2d0459e8f7652d901b172de4fdcf6de46461b7c56fac127b3dda142 musl-missing-typesh.patch"
|
|
sha512sums="dea27691b3e53bd6d7ff4c3530cb0e3d8c353bf03cbd7057910f37aa478fc95d66d4300a4dfa1c410957fafbce2d28e0b39a4e34928f6b0a562d3d6043e0f8e6 libuniso-0.1.tar.bz2
|
|
56db43a674afc969f742524680eb02ae9685818022d4310ed8d1a6c727f5a185ccee9ed6553140b91403053311dd89a30d00602d4ee9d29bb3a96406d0462c95 musl-missing-typesh.patch"
|