freetype: explicitly enable freetype-config
Closes: #366 Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
This commit is contained in:
parent
4a00d41d3d
commit
8024f46fea
|
@ -1,8 +1,9 @@
|
||||||
# Template file for 'freetype'
|
# Template file for 'freetype'
|
||||||
pkgname=freetype
|
pkgname=freetype
|
||||||
version=2.9.1
|
version=2.9.1
|
||||||
revision=2
|
revision=3
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
|
configure_args="--enable-freetype-config"
|
||||||
hostmakedepends="pkg-config"
|
hostmakedepends="pkg-config"
|
||||||
makedepends="bzip2-devel libpng-devel"
|
makedepends="bzip2-devel libpng-devel"
|
||||||
short_desc="Font rendering engine and library API"
|
short_desc="Font rendering engine and library API"
|
||||||
|
@ -32,16 +33,6 @@ pre_configure() {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
post_build() {
|
|
||||||
# Create a legacy /usr/bin/freetype-config script
|
|
||||||
vmkdir usr/bin
|
|
||||||
cat >> "${DESTDIR}"/usr/bin/freetype-config <<EOF
|
|
||||||
#!/bin/sh
|
|
||||||
pkg-config "\$@" freetype2
|
|
||||||
EOF
|
|
||||||
chmod 755 "${DESTDIR}"/usr/bin/freetype-config
|
|
||||||
}
|
|
||||||
|
|
||||||
freetype-devel_package() {
|
freetype-devel_package() {
|
||||||
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
|
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
|
||||||
short_desc+=" - development files"
|
short_desc+=" - development files"
|
||||||
|
|
Loading…
Reference in New Issue