wok-current view libpaper/receipt @ rev 25376

updated tzdata (2019c -> 2022a)
author Hans-G?nter Theisgen
date Sat Jul 30 10:43:02 2022 +0100 (2022-07-30)
parents 8326b3115047
children
line source
1 # SliTaz package receipt.
3 PACKAGE="libpaper"
4 VERSION="1.1.28"
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="${PACKAGE}_$VERSION.tar.gz"
12 WGET_URL="http://ftp.de.debian.org/debian/pool/main/libp/libpaper/$TARBALL"
14 BUILD_DEPENDS="autoconf automake libtool"
16 HOST_ARCH="i486 arm"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - ${WGET_URL%/*} 2>/dev/null | \
22 sed "/latest/d;/${PACKAGE}_/!d;/tar/!d;s|.*${PACKAGE}_\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 autoreconf -vfi &&
29 ./configure $CONFIGURE_ARGS &&
30 make &&
31 make install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/lib
39 cp -a $install/usr/bin $fs/usr
40 cp -a $install/usr/sbin $fs/usr
41 cp -a $install/usr/lib/*.so* $fs/usr/lib
42 }