wok-next annotate libpaper/receipt @ rev 21469

updated tinc (1.0.25 -> 1.0.36)
author Hans-G?nter Theisgen
date Wed May 13 07:41:00 2020 +0100 (2020-05-13)
parents f48456621a9d
children
rev   line source
al@19787 1 # SliTaz package receipt v2.
pankso@12728 2
pankso@12728 3 PACKAGE="libpaper"
al@19787 4 VERSION="1.1.24+nmu5"
pankso@12728 5 CATEGORY="system-tools"
al@19787 6 SHORT_DESC="Library for handling paper characteristics"
al@21020 7 MAINTAINER="devel@slitaz.org"
pascal@14716 8 LICENSE="GPL2"
al@19787 9 WEB_SITE="https://packages.debian.org/unstable/source/libpaper"
al@21017 10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/general/libpaper.html"
pankso@12728 11
al@19787 12 TARBALL="libpaper_$VERSION.tar.gz"
al@19787 13 WGET_URL="http://ftp.debian.org/debian/pool/main/libp/libpaper/$TARBALL"
al@19787 14
al@19787 15 BUILD_DEPENDS="automake libtool"
al@21020 16 SPLIT="$PACKAGE-dev"
al@19787 17
al@20534 18 compile_rules() {
al@19787 19 autoreconf -fi &&
al@19787 20
al@19787 21 ./configure \
al@19787 22 --disable-static \
al@19787 23 $CONFIGURE_ARGS &&
al@20595 24 fix libtool &&
al@20534 25 make &&
al@20534 26 make install || return 1
al@19787 27
al@20534 28 install -m755 $stuff/run-parts $install/usr/bin
al@20675 29
al@20534 30 mkdir -p $install/etc
al@19787 31 echo 'a4' > $install/etc/papersize
al@20675 32
al@20675 33 mkdir -p $install/etc/libpaper.d
pankso@12728 34 }
pankso@12728 35
al@20534 36 genpkg_rules() {
al@19787 37 case $PACKAGE in
al@19787 38 libpaper)
al@19787 39 copy @std
al@19787 40 CONFIG_FILES="/etc/papersize"
al@19787 41 ;;
al@19787 42 *-dev) copy @dev;;
al@19787 43 esac
pankso@12728 44 }