wok-next view libpaper/receipt @ rev 20533

cairo-clock, grub4dos: fix CFLAGS
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Mar 27 12:50:45 2018 +0200 (2018-03-27)
parents 8de239b8173f
children 757d032c55c7
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 # Rules to configure and make the package.
18 compile_rules()
19 {
20 autoreconf -fi &&
22 ./configure \
23 --sysconfdir=/etc \
24 --disable-static \
25 $CONFIGURE_ARGS &&
26 make && make install &&
28 install -m755 $stuff/run-parts $install/usr/bin &&
29 mkdir -p $install/etc &&
30 echo 'a4' > $install/etc/papersize
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 case $PACKAGE in
37 libpaper)
38 copy @std
39 CONFIG_FILES="/etc/papersize"
40 ;;
41 *-dev) copy @dev;;
42 esac
43 }
45 post_install_libpaper() {
46 mkdir -p "$1/etc/libpaper.d"
47 }