mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
libcss: update to 0.9.2.
Workaround targets being rebuilt during install phase
This commit is contained in:
parent
607d6f863e
commit
e4b2d6974d
1 changed files with 9 additions and 6 deletions
|
@ -1,25 +1,28 @@
|
||||||
# Template file for 'libcss'
|
# Template file for 'libcss'
|
||||||
pkgname=libcss
|
pkgname=libcss
|
||||||
version=0.9.1
|
version=0.9.2
|
||||||
revision=1
|
revision=1
|
||||||
hostmakedepends="pkg-config perl netsurf-buildsystem"
|
hostmakedepends="pkg-config perl netsurf-buildsystem"
|
||||||
makedepends="libparserutils-devel libwapcaplet-devel"
|
makedepends="libparserutils-devel libwapcaplet-devel"
|
||||||
short_desc="CSS parser and selection engine, written in C"
|
short_desc="CSS parser and selection engine, written in C"
|
||||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||||
license="MIT"
|
license="MIT"
|
||||||
homepage="http://www.netsurf-browser.org"
|
homepage="https://www.netsurf-browser.org"
|
||||||
distfiles="http://download.netsurf-browser.org/libs/releases/${pkgname}-${version}-src.tar.gz"
|
distfiles="https://download.netsurf-browser.org/libs/releases/${pkgname}-${version}-src.tar.gz"
|
||||||
checksum=d2dce16e93392e8d6a7209420d47c2d56a3811701a0e81a724fc541c63d3c6dc
|
checksum=2df215bbec34d51d60c1a04b01b2df4d5d18f510f1f3a7af4b80cddb5671154e
|
||||||
CFLAGS="-Wno-error"
|
CFLAGS="-Wno-error"
|
||||||
|
|
||||||
do_build() {
|
do_build() {
|
||||||
|
make ${makejobs} HOST_CC=cc COMPONENT_TYPE=lib-static PREFIX=/usr BUILDDIR=build-static-lib
|
||||||
make ${makejobs} HOST_CC=cc COMPONENT_TYPE=lib-shared PREFIX=/usr
|
make ${makejobs} HOST_CC=cc COMPONENT_TYPE=lib-shared PREFIX=/usr
|
||||||
make ${makejobs} HOST_CC=cc COMPONENT_TYPE=lib-static PREFIX=/usr
|
|
||||||
}
|
}
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
make COMPONENT_TYPE=lib-shared PREFIX=/usr DESTDIR=${DESTDIR} install
|
make COMPONENT_TYPE=lib-shared PREFIX=/usr DESTDIR=${DESTDIR} install
|
||||||
make COMPONENT_TYPE=lib-static PREFIX=/usr DESTDIR=${DESTDIR} install
|
|
||||||
|
# workaround to avoid targets being rebuilt
|
||||||
|
# make COMPONENT_TYPE=lib-static PREFIX=/usr DESTDIR=${DESTDIR} BUILDDIR=build-static-lib install
|
||||||
|
vinstall build-static-lib/libcss.a 644 /usr/lib
|
||||||
|
|
||||||
vlicense COPYING
|
vlicense COPYING
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue