mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-12-29 21:32:22 +01:00
Since abuild v2.22.0, these are removed automatically unless 'libtool' option has been specified.
39 lines
778 B
Plaintext
39 lines
778 B
Plaintext
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
|
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=lua-yaml
|
|
pkgver=0.2
|
|
pkgrel=0
|
|
pkgdesc="LibYaml binding for Lua"
|
|
url="http://yaml.luaforge.net"
|
|
arch="all"
|
|
license="MIT"
|
|
depends=""
|
|
makedepends="yaml-dev lua-dev"
|
|
install=""
|
|
subpackages=""
|
|
source="http://luaforge.net/frs/download.php/4284/yaml-$pkgver.tar.gz"
|
|
|
|
_builddir="$srcdir"/yaml-$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"
|
|
make || return 1
|
|
}
|
|
|
|
package() {
|
|
cd "$_builddir"
|
|
install -d "$pkgdir"/usr/lib/lua/5.1
|
|
make PREFIX="$pkgdir"/usr install || return 1
|
|
}
|
|
|
|
md5sums="18c25a2a6609b2862e3485952cf73634 yaml-0.2.tar.gz"
|