wok annotate harfbuzz/receipt @ rev 18725
lynis 2.1.1: fix: installs in /usr/share/lynis but can not be found, trying /usr/local/share (as in example on dev website)
author | Erkan Yilmaz <erkan@slitaz.org> |
---|---|
date | Fri Dec 18 13:20:19 2015 +0000 (2015-12-18) |
parents | 99ad99a3ac5e |
children | 1f3d28dd05d0 |
rev | line source |
---|---|
pankso@16149 | 1 # SliTaz package receipt. |
pankso@16149 | 2 |
pankso@16149 | 3 PACKAGE="harfbuzz" |
devl547@18344 | 4 VERSION="1.0.3" |
pankso@16149 | 5 CATEGORY="system-tools" |
pankso@16149 | 6 SHORT_DESC="OpenType text shaping engine" |
pankso@16149 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@16149 | 8 LICENSE="GPL2" |
pankso@16149 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@16149 | 10 WEB_SITE="http://www.freedesktop.org/wiki/Software/HarfBuzz" |
pankso@16149 | 11 WGET_URL="http://www.freedesktop.org/software/harfbuzz/release/$TARBALL" |
pankso@16149 | 12 |
pascal@18356 | 13 DEPENDS="glib freetype" |
pascal@18356 | 14 BUILD_DEPENDS="glib-dev freetype-dev" |
pankso@16149 | 15 |
pankso@16149 | 16 # Rules to configure and make the package. |
pankso@16149 | 17 compile_rules() |
pankso@16149 | 18 { |
pankso@16149 | 19 ./configure \ |
pankso@16149 | 20 --with-glib \ |
pankso@16149 | 21 --with-freetype \ |
pankso@16149 | 22 --with-gobject \ |
pascal@18356 | 23 --with-icu=no \ |
pankso@16149 | 24 $CONFIGURE_ARGS && |
pankso@16149 | 25 make && make install |
pankso@16149 | 26 } |
pankso@16149 | 27 |
pankso@16149 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@16149 | 29 genpkg_rules() |
pankso@16149 | 30 { |
pankso@16149 | 31 mkdir -p $fs/usr/lib |
pankso@16149 | 32 cp -a $install/usr/bin $fs/usr |
pankso@16149 | 33 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pankso@16149 | 34 } |