Commit a504c4ae authored by Marco A L Barbosa's avatar Marco A L Barbosa Committed by Jakub Jirutka
Browse files

main/freetype: build static lib

parent 6e69d3ea
......@@ -2,7 +2,7 @@
# Maintainer: Carlo Landmeter <clandmeter@gmail.com>
pkgname=freetype
pkgver=2.9.1
pkgrel=0
pkgrel=1
pkgdesc="TrueType font rendering library"
url="https://www.freetype.org/"
arch="all"
......@@ -11,7 +11,7 @@ options="!check"
depends=""
depends_dev=""
makedepends="$depends_dev zlib-dev libpng-dev bzip2-dev"
subpackages="$pkgname-dev $pkgname-doc"
subpackages="$pkgname-static $pkgname-dev $pkgname-doc"
source="http://download.savannah.gnu.org/releases/freetype/freetype-$pkgver.tar.bz2
40-memcpy-fix.patch
0001-Enable-table-validation-modules.patch
......@@ -39,13 +39,20 @@ build() {
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--disable-static \
--enable-static \
--with-bzip2 \
--with-png \
--enable-freetype-config
make
}
static() {
pkgdesc="$pkgname static libraries"
mkdir -p "$subpkgdir"/usr/lib
mv "$pkgdir"/usr/lib/*.a "$subpkgdir"/usr/lib/
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment