wok-next view libpaper/receipt @ rev 20555
Fix "DSO missing..." error: loqui, xfprint, notification-daemon-gtk2, xfmedia, evince, celestia(?)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Apr 06 17:43:57 2018 +0300 (2018-04-06) |
parents | c4e53a39395a |
children | 5841522533ec |
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 make &&
24 make install || return 1
26 install -m755 $stuff/run-parts $install/usr/bin
27 mkdir -p $install/etc
28 echo 'a4' > $install/etc/papersize
29 }
31 genpkg_rules() {
32 case $PACKAGE in
33 libpaper)
34 copy @std
35 CONFIG_FILES="/etc/papersize"
36 ;;
37 *-dev) copy @dev;;
38 esac
39 }
41 post_install_libpaper() {
42 mkdir -p "$1/etc/libpaper.d"
43 }