wok annotate libart_lgpl/receipt @ rev 25493

Add libgnt
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Nov 19 17:37:48 2022 +0000 (18 months ago)
parents 4904e3d374a9
children
rev   line source
pankso@36 1 # SliTaz package receipt.
pankso@36 2
pankso@36 3 PACKAGE="libart_lgpl"
jozee@5280 4 VERSION="2.3.21"
pankso@211 5 CATEGORY="x-window"
pankso@36 6 SHORT_DESC="Free libart."
pankso@36 7 MAINTAINER="pankso@slitaz.org"
pascal@14714 8 LICENSE="GPL2"
pankso@36 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pankso@36 10 WEB_SITE="http://ftp.gnome.org/pub/gnome/sources/libart_lgpl/"
slaxemulator@8270 11 WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
pankso@36 12
pascal@14714 13 DEPENDS="glibc-base"
pascal@14714 14
pascal@24111 15 current_version()
pascal@24111 16 {
pascal@24111 17 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
pascal@24111 18 sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
pascal@24111 19 }
pascal@24111 20
pankso@36 21 # Rules to configure and make the package.
pankso@36 22 compile_rules()
pankso@36 23 {
pankso@36 24 cd $src
pankso@36 25 ./configure --prefix=/usr --infodir=/usr/share/info \
pankso@36 26 --mandir=/usr/share/man $CONFIGURE_ARGS
pankso@36 27 make
pascal@14714 28 make DESTDIR=$DESTDIR install
pankso@36 29 }
pankso@36 30
pankso@36 31 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@36 32 genpkg_rules()
pankso@36 33 {
pankso@36 34 mkdir -p $fs/usr/lib
pascal@14714 35 cp -a $install/usr/lib/*.so* $fs/usr/lib
pankso@36 36 }
pankso@36 37