wok-next annotate libpaper/receipt @ rev 12785
dia: fix compile_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue May 15 11:32:14 2012 +0200 (2012-05-15) |
parents | |
children | 086841d75237 |
rev | line source |
---|---|
pankso@12728 | 1 # SliTaz package receipt. |
pankso@12728 | 2 |
pankso@12728 | 3 PACKAGE="libpaper" |
pankso@12728 | 4 VERSION="1.1.24" |
pankso@12728 | 5 CATEGORY="system-tools" |
pankso@12728 | 6 SHORT_DESC="Library for handling paper characteristics." |
pankso@12728 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@12728 | 8 TARBALL="${PACKAGE}_$VERSION+nmu1.tar.gz" |
pankso@12728 | 9 WEB_SITE="http://packages.debian.org/unstable/source/libpaper" |
pankso@12728 | 10 WGET_URL="http://ftp.de.debian.org/debian/pool/main/libp/libpaper/$TARBALL" |
pankso@12728 | 11 |
pankso@12728 | 12 |
pankso@12728 | 13 # Rules to configure and make the package. |
pankso@12728 | 14 compile_rules() |
pankso@12728 | 15 { |
pankso@12728 | 16 cd $src |
pankso@12728 | 17 ./configure $CONFIGURE_ARGS && |
pankso@12728 | 18 make && make install |
pankso@12728 | 19 } |
pankso@12728 | 20 |
pankso@12728 | 21 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@12728 | 22 genpkg_rules() |
pankso@12728 | 23 { |
pankso@12728 | 24 mkdir -p $fs/usr/lib |
pankso@12728 | 25 cp -a $install/usr/bin $fs/usr |
pankso@12728 | 26 cp -a $install/usr/sbin $fs/usr |
pankso@12728 | 27 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pankso@12728 | 28 } |