wok-6.x annotate zile/receipt @ rev 24666
created recipes for double-conversion and double-conversion-dev
author | Hans-G?nter Theisgen |
---|---|
date | Fri Mar 11 15:40:49 2022 +0100 (2022-03-11) |
parents | ae6331238367 |
children |
rev | line source |
---|---|
domcox@3940 | 1 # SliTaz package receipt. |
domcox@3940 | 2 |
domcox@3940 | 3 PACKAGE="zile" |
Hans-G?nter@22330 | 4 VERSION="2.4.14" |
domcox@3940 | 5 CATEGORY="development" |
Hans-G?nter@22330 | 6 TAGS="text-editor" |
Hans-G?nter@22330 | 7 SHORT_DESC="A lightweight Emacs clone." |
domcox@3940 | 8 MAINTAINER="domcox@slitaz.org" |
pascal@14999 | 9 LICENSE="GPL3" |
Hans-G?nter@22330 | 10 WEB_SITE="https://www.gnu.org/software/zile/" |
Hans-G?nter@22330 | 11 |
domcox@3940 | 12 TARBALL="$PACKAGE-$VERSION.tar.gz" |
domcox@3940 | 13 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" |
Hans-G?nter@22330 | 14 |
Hans-G?nter@22330 | 15 DEPENDS="gc glibc-base ncursesw" |
Hans-G?nter@22330 | 16 BUILD_DEPENDS="gc-dev help2man ncursesw-dev" |
Hans-G?nter@22330 | 17 |
pankso@16060 | 18 HOST_ARCH="i486 arm" |
domcox@3940 | 19 |
pascal@24304 | 20 # What is the latest version available today? |
pascal@24304 | 21 current_version() |
pascal@24304 | 22 { |
pascal@24304 | 23 wget -O - ${WGET_URL%/*} 2>/dev/null | \ |
pascal@24304 | 24 sed "/$PACKAGE-/!d;s|.*$PACKAGE-||;s|.tar.*||" | tail -n1 |
pascal@24304 | 25 } |
pascal@24304 | 26 |
domcox@3940 | 27 # Rules to configure and make the package. |
domcox@3940 | 28 compile_rules() |
domcox@3940 | 29 { |
Hans-G?nter@22330 | 30 export LDFLAGS="$LDFLAGS -lrt" |
Hans-G?nter@22330 | 31 |
pankso@16060 | 32 ./configure $CONFIGURE_ARGS && |
Hans-G?nter@22330 | 33 make && |
Hans-G?nter@22330 | 34 make install |
domcox@3940 | 35 } |
domcox@3940 | 36 |
domcox@3940 | 37 # Rules to gen a SliTaz package suitable for Tazpkg. |
domcox@3940 | 38 genpkg_rules() |
domcox@3940 | 39 { |
domcox@3940 | 40 mkdir -p $fs/usr |
Hans-G?nter@22330 | 41 cp -a $install/usr/bin $fs/usr |
domcox@3940 | 42 } |