40 lines
1.1 KiB
Bash
40 lines
1.1 KiB
Bash
# Template file for 'fribidi'
|
|
pkgname=fribidi
|
|
version=1.0.12
|
|
revision=1
|
|
build_style=gnu-configure
|
|
configure_args="--disable-docs"
|
|
hostmakedepends="automake libtool pkg-config"
|
|
short_desc="Free Implementation of the Unicode Bidirectional Algorithm"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="LGPL-2.1-or-later"
|
|
homepage="https://github.com/fribidi/fribidi/"
|
|
changelog="https://raw.githubusercontent.com/fribidi/fribidi/master/NEWS"
|
|
distfiles="https://github.com/fribidi/fribidi/archive/v${version}.tar.gz"
|
|
checksum=2e9e859876571f03567ac91e5ed3b5308791f31cda083408c2b60fa1fe00a39d
|
|
disable_parallel_build=yes
|
|
|
|
pre_configure() {
|
|
NOCONFIGURE=1 autoreconf -fi
|
|
}
|
|
|
|
pre_build() {
|
|
if [ "$CROSS_BUILD" ]; then
|
|
sed -i gen.tab/Makefile \
|
|
-e "s;^\(CC =\) .*;\1 cc;" \
|
|
-e "s;^\(CFLAGS =\) .*;\1 -O2 -pipe;" \
|
|
-e "s;^\(LDFLAGS =\) .*;\1 -s;"
|
|
fi
|
|
}
|
|
|
|
fribidi-devel_package() {
|
|
depends="fribidi>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.so"
|
|
vmove usr/share/man/man3
|
|
}
|
|
}
|