wok-next annotate 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 |
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" |
pankso@12728 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@14716 | 8 LICENSE="GPL2" |
al@19787 | 9 WEB_SITE="https://packages.debian.org/unstable/source/libpaper" |
pankso@16312 | 10 HOST_ARCH="i486 arm" |
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@19787 | 16 SPLIT="libpaper-dev" |
al@19787 | 17 |
pankso@12728 | 18 # Rules to configure and make the package. |
pankso@12728 | 19 compile_rules() |
pankso@12728 | 20 { |
al@19787 | 21 autoreconf -fi && |
al@19787 | 22 |
al@19787 | 23 ./configure \ |
al@19787 | 24 --sysconfdir=/etc \ |
al@19787 | 25 --disable-static \ |
al@19787 | 26 $CONFIGURE_ARGS && |
al@19787 | 27 make && make install && |
al@19787 | 28 |
al@19787 | 29 install -m755 $stuff/run-parts $install/usr/bin && |
al@19787 | 30 mkdir -p $install/etc && |
al@19787 | 31 echo 'a4' > $install/etc/papersize |
pankso@12728 | 32 } |
pankso@12728 | 33 |
pankso@12728 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@12728 | 35 genpkg_rules() |
pankso@12728 | 36 { |
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 } |
al@19787 | 45 |
al@19787 | 46 post_install_libpaper() { |
al@19787 | 47 mkdir -p "$1/etc/libpaper.d" |
al@19787 | 48 } |