wok-next annotate freetype1/receipt @ rev 21250
updated drbd-utils (8.9.1 -> 9.11.0)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Dec 06 08:40:38 2019 +0100 (2019-12-06) |
parents | a3c581bf52b8 |
children |
rev | line source |
---|---|
al@20456 | 1 # SliTaz package receipt v2. |
pascal@2175 | 2 |
pascal@2175 | 3 PACKAGE="freetype1" |
pascal@2175 | 4 VERSION="1.3.1" |
pascal@2175 | 5 CATEGORY="x-window" |
al@20456 | 6 SHORT_DESC="Freetype1 font engine" |
al@21020 | 7 MAINTAINER="devel@slitaz.org" |
pascal@15215 | 8 LICENSE="BSD" |
al@20906 | 9 WEB_SITE="https://www.freetype.org/" |
al@20882 | 10 REPOLOGY="freetype" |
pascal@2175 | 11 |
al@20456 | 12 TARBALL="freetype-$VERSION.tar.gz" |
al@20456 | 13 WGET_URL="$SF_MIRROR/freetype/$TARBALL" |
pascal@15215 | 14 |
al@21020 | 15 SPLIT="$PACKAGE-dev" |
al@20456 | 16 |
al@20456 | 17 compile_rules() { |
pascal@2175 | 18 # NOTE: DESTDIR is not recognized by freetype1 make install |
pascal@2175 | 19 ./configure \ |
al@21020 | 20 --sysconfdir=$install/etc \ |
al@21020 | 21 --prefix=$install/usr \ |
al@21020 | 22 --mandir=$install/usr/share/man \ |
al@21020 | 23 --includedir=$install/usr/include \ |
al@21020 | 24 --libdir=$install/usr/lib \ |
al@20534 | 25 --with-x \ |
al@20534 | 26 --enable-gif \ |
pascal@2175 | 27 $CONFIGURE_ARGS && |
pascal@2175 | 28 make ttlib ttpo || return 1 |
pascal@2175 | 29 |
pascal@2179 | 30 cd lib |
al@21020 | 31 make DESTDIR=$install -f arch/unix/Makefile install || return 1 |
pascal@2179 | 32 cd ../po |
al@21020 | 33 make DESTDIR=$install -f Makefile install || return 1 |
pascal@2175 | 34 } |
pascal@2175 | 35 |
al@20456 | 36 genpkg_rules() { |
al@20456 | 37 case $PACKAGE in |
al@20456 | 38 freetype1) |
al@20456 | 39 copy @std |
al@20456 | 40 DEPENDS="glibc-base" |
al@20456 | 41 ;; |
al@20456 | 42 *-dev) |
al@20456 | 43 copy @dev |
al@20456 | 44 ;; |
al@20456 | 45 esac |
pascal@2175 | 46 } |