wok view aspell-pl/receipt @ rev 24757

pkg-config: cheat configure
author Hans-G?nter Theisgen
date Fri Mar 18 06:53:58 2022 +0100 (2022-03-18)
parents 1a2b24bfa16d
children 429cd2dffc4f
line source
1 # SliTaz package receipt.
3 PACKAGE="aspell-pl"
4 VERSION="6.0_20191230-0"
5 CATEGORY="system-tools"
6 SHORT_DESC="Polish aspell dictionary."
7 MAINTAINER="paul@slitaz.org"
8 LICENSE="GPL LGPL CC-SA"
9 WEB_SITE="http://aspell.net/"
11 SOURCE="sjp-aspell6-pl"
12 TARBALL="$SOURCE-$VERSION.tar.bz2"
13 WGET_URL="https://sjp.pl/slownik/ort/$TARBALL"
15 DEPENDS="aspell"
16 BUILD_DEPENDS="aspell aspell-dev"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - ${WGET_URL%/*} 2>/dev/null | \
22 sed "/$SOURCE/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|;q"
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 ./configure &&
29 make &&
30 make DESTDIR=$DESTDIR install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr
37 cp -a $install/usr/lib $fs/usr
38 }