rev |
line source |
pascal@2175
|
1 # SliTaz package receipt.
|
pascal@2175
|
2
|
pascal@2175
|
3 PACKAGE="freetype1"
|
pascal@2175
|
4 SOURCE="freetype"
|
pascal@2175
|
5 VERSION="1.3.1"
|
pascal@2175
|
6 CATEGORY="x-window"
|
pascal@2175
|
7 SHORT_DESC="Freetype1 font engine."
|
pascal@2175
|
8 MAINTAINER="rcx@zoominternet.net"
|
pascal@15215
|
9 LICENSE="BSD"
|
pascal@2175
|
10 TARBALL="$SOURCE-$VERSION.tar.gz"
|
pascal@2175
|
11 WEB_SITE="http://www.freetype.org/"
|
rcx@3456
|
12 WGET_URL="$SF_MIRROR/$SOURCE/$TARBALL"
|
pascal@2175
|
13
|
pascal@15215
|
14 DEPENDS="glibc-base"
|
pascal@15215
|
15
|
pascal@2175
|
16 # Rules to configure and make the package.
|
pascal@2175
|
17 compile_rules()
|
pascal@2175
|
18 {
|
pascal@2175
|
19 # NOTE: DESTDIR is not recognized by freetype1 make install
|
pascal@2175
|
20
|
pascal@2175
|
21 cd $src
|
pascal@2175
|
22 ./configure \
|
pascal@15602
|
23 --sysconfdir=$DESTDIR/etc \
|
pascal@15602
|
24 --prefix=$DESTDIR/usr \
|
pascal@15602
|
25 --mandir=$DESTDIR/usr/share/man \
|
pascal@15602
|
26 --includedir=$DESTDIR/usr/include \
|
pascal@15602
|
27 --libdir=$DESTDIR/usr/lib \
|
rcx@3456
|
28 --with-x --enable-gif \
|
pascal@2175
|
29 $CONFIGURE_ARGS &&
|
pascal@2175
|
30 make ttlib ttpo || return 1
|
pascal@2175
|
31
|
pascal@2179
|
32 cd lib
|
pascal@15215
|
33 make DESTDIR=$DESTDIR -f arch/unix/Makefile install || return 1
|
pascal@2179
|
34 cd ../po
|
pascal@15215
|
35 make DESTDIR=$DESTDIR -f Makefile install || return 1
|
pascal@2175
|
36 }
|
pascal@2175
|
37
|
pascal@2175
|
38 # Rules to gen a SliTaz package suitable for Tazpkg.
|
pascal@2175
|
39 genpkg_rules()
|
pascal@2175
|
40 {
|
pascal@2175
|
41 mkdir -p $fs/usr/lib
|
pascal@15215
|
42 cp -a $install/usr/lib/*.so* $fs/usr/lib
|
pascal@2175
|
43 }
|