wok-next view libpaper/receipt @ rev 21017

Some maintenance
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Oct 16 16:46:05 2018 +0300 (2018-10-16)
parents 63ae365eb07d
children d5aab818505e
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"
10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/general/libpaper.html"
12 TARBALL="libpaper_$VERSION.tar.gz"
13 WGET_URL="http://ftp.debian.org/debian/pool/main/libp/libpaper/$TARBALL"
15 BUILD_DEPENDS="automake libtool"
16 SPLIT="libpaper-dev"
18 compile_rules() {
19 autoreconf -fi &&
21 ./configure \
22 --disable-static \
23 $CONFIGURE_ARGS &&
24 fix libtool &&
25 make &&
26 make install || return 1
28 install -m755 $stuff/run-parts $install/usr/bin
30 mkdir -p $install/etc
31 echo 'a4' > $install/etc/papersize
33 mkdir -p $install/etc/libpaper.d
34 }
36 genpkg_rules() {
37 case $PACKAGE in
38 libpaper)
39 copy @std
40 CONFIG_FILES="/etc/papersize"
41 ;;
42 *-dev) copy @dev;;
43 esac
44 }