wok view freetype1/receipt @ rev 15215
Add some licenses
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Sep 14 17:06:00 2013 +0000 (2013-09-14) |
parents | 28148b876a49 |
children | ee5c8b018b62 |
line source
1 # SliTaz package receipt.
3 PACKAGE="freetype1"
4 SOURCE="freetype"
5 VERSION="1.3.1"
6 CATEGORY="x-window"
7 SHORT_DESC="Freetype1 font engine."
8 MAINTAINER="rcx@zoominternet.net"
9 LICENSE="BSD"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="http://www.freetype.org/"
12 WGET_URL="$SF_MIRROR/$SOURCE/$TARBALL"
14 DEPENDS="glibc-base"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 # NOTE: DESTDIR is not recognized by freetype1 make install
21 cd $src
22 ./configure \
23 --sysconfdir=$PWD/_pkg/etc \
24 --prefix=$PWD/_pkg/usr \
25 --mandir=$PWD/_pkg/usr/share/man \
26 --includedir=$PWD/_pkg/usr/include \
27 --libdir=$PWD/_pkg/usr/lib \
28 --with-x --enable-gif \
29 $CONFIGURE_ARGS &&
30 make ttlib ttpo || return 1
32 cd lib
33 make DESTDIR=$DESTDIR -f arch/unix/Makefile install || return 1
34 cd ../po
35 make DESTDIR=$DESTDIR -f Makefile install || return 1
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs/usr/lib
42 cp -a $install/usr/lib/*.so* $fs/usr/lib
43 }