wok-next view libpaper/receipt @ rev 21493

updated aria2 (1.34.0 -> 1.35.0)
author Hans-G?nter Theisgen
date Thu Jun 18 21:19:09 2020 +0100 (2020-06-18)
parents f48456621a9d
children
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="devel@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="$PACKAGE-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 }