wok-next view libpaper/receipt @ rev 20365

palemoon: disable SSE2, up get-palemoon.
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Fri Nov 24 08:37:29 2017 +0100 (2017-11-24)
parents 412cfae4a54c
children c4e53a39395a
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 HOST_ARCH="i486 arm"
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 # Rules to configure and make the package.
19 compile_rules()
20 {
21 autoreconf -fi &&
23 ./configure \
24 --sysconfdir=/etc \
25 --disable-static \
26 $CONFIGURE_ARGS &&
27 make && make install &&
29 install -m755 $stuff/run-parts $install/usr/bin &&
30 mkdir -p $install/etc &&
31 echo 'a4' > $install/etc/papersize
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 case $PACKAGE in
38 libpaper)
39 copy @std
40 CONFIG_FILES="/etc/papersize"
41 ;;
42 *-dev) copy @dev;;
43 esac
44 }
46 post_install_libpaper() {
47 mkdir -p "$1/etc/libpaper.d"
48 }