wok annotate freetype/receipt @ rev 8120
linux: make sure the real tar is installed.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sun Jan 23 21:51:05 2011 +0000 (2011-01-23) |
parents | 1e6455a554bc |
children | 991166a88afa |
rev | line source |
---|---|
pankso@21 | 1 # SliTaz package receipt. |
pankso@21 | 2 |
pankso@21 | 3 PACKAGE="freetype" |
slaxemulator@7478 | 4 VERSION="2.4.4" |
pankso@21 | 5 CATEGORY="x-window" |
pankso@21 | 6 SHORT_DESC="Freetype font engine." |
pankso@21 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@21 | 8 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@21 | 9 WEB_SITE="http://www.freetype.org/" |
pankso@21 | 10 WGET_URL="http://download.savannah.gnu.org/releases/freetype/$TARBALL" |
pascal@2486 | 11 DEPENDS="zlib" |
pankso@21 | 12 |
pankso@21 | 13 # Rules to configure and make the package. |
pankso@21 | 14 compile_rules() |
pankso@21 | 15 { |
pankso@972 | 16 cd $src |
pankso@972 | 17 ./configure \ |
pankso@972 | 18 --sysconfdir=/etc \ |
pankso@972 | 19 --prefix=/usr \ |
pankso@972 | 20 --mandir=/usr/share/man \ |
pascal@2486 | 21 $CONFIGURE_ARGS && |
pascal@2486 | 22 make && |
pankso@972 | 23 make DESTDIR=$PWD/_pkg install |
pankso@21 | 24 } |
pankso@21 | 25 |
pankso@21 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@21 | 27 genpkg_rules() |
pankso@21 | 28 { |
pankso@21 | 29 mkdir -p $fs/usr/lib |
pankso@972 | 30 cp -a $_pkg/usr/bin $fs/usr |
pankso@972 | 31 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@21 | 32 } |