wok view libupnp/receipt @ rev 25618
Update get-pcem-roms
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Aug 28 14:28:52 2023 +0000 (14 months ago) |
parents | 8d89d0298bca |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="libupnp"
4 VERSION="1.14.12"
5 CATEGORY="network"
6 SHORT_DESC="The portable Universal Plug and Play (UPnP)."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="BSD"
9 WEB_SITE="https://github.com/pupnp/pupnp"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="https://github.com/pupnp/pupnp/releases/download/release-$VERSION/$TARBALL"
14 DEPENDS="libxml2"
15 BUILD_DEPENDS="libpthread-stubs libxml2-dev"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://github.com/pupnp/pupnp/releases 2>/dev/null | \
21 sed '/tag\//!d;s|.*tag/[a-z-]*||;s|".*||;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./configure \
28 --prefix=/usr \
29 --disable-largefile \
30 $CONFIGURE_ARGS &&
31 make &&
32 make install DESTDIR=$DESTDIR
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 cook_copy_files *.so*
39 }