wok-next view libpaper/receipt @ rev 20634

oxine: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Apr 27 12:51:30 2018 +0200 (2018-04-27)
parents 757d032c55c7
children 63ae365eb07d
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libpaper"
4 VERSION="1.1.24+nmu5"
5 CATEGORY="system-tools"
6 SHORT_DESC="Library for handling paper characteristics"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://packages.debian.org/unstable/source/libpaper"
11 TARBALL="libpaper_$VERSION.tar.gz"
12 WGET_URL="http://ftp.debian.org/debian/pool/main/libp/libpaper/$TARBALL"
14 BUILD_DEPENDS="automake libtool"
15 SPLIT="libpaper-dev"
17 compile_rules() {
18 autoreconf -fi &&
20 ./configure \
21 --disable-static \
22 $CONFIGURE_ARGS &&
23 fix libtool &&
24 make &&
25 make install || return 1
27 install -m755 $stuff/run-parts $install/usr/bin
28 mkdir -p $install/etc
29 echo 'a4' > $install/etc/papersize
30 }
32 genpkg_rules() {
33 case $PACKAGE in
34 libpaper)
35 copy @std
36 CONFIG_FILES="/etc/papersize"
37 ;;
38 *-dev) copy @dev;;
39 esac
40 }
42 post_install_libpaper() {
43 mkdir -p "$1/etc/libpaper.d"
44 }