libnsgif: fix to build/install properly.
This commit is contained in:
parent
8dd7686e11
commit
6d6a68fc38
|
@ -1,5 +1,6 @@
|
|||
# Template file for 'libnsgif-devel'.
|
||||
#
|
||||
revision=1
|
||||
short_desc="${sourcepkg} development files"
|
||||
long_desc="${long_desc}
|
||||
|
||||
|
@ -8,14 +9,7 @@ long_desc="${long_desc}
|
|||
Add_dependency run libnsgif
|
||||
|
||||
do_install() {
|
||||
mkdir -p ${DESTDIR}/usr/lib/pkgconfig
|
||||
|
||||
sed -e 's#PREFIX#/usr#' -e 's#MAJOR#0#' \
|
||||
-e 's#MINOR#0#' -e 's#PATCH#3#' \
|
||||
-e 's#VERSION#0.0.3#' -e 's#REQUIRED##' \
|
||||
${wrksrc}/libnsgif.pc.in \
|
||||
> ${DESTDIR}/usr/lib/pkgconfig/libnsgif.pc
|
||||
|
||||
|
||||
mv ${wrksrc}/include ${DESTDIR}/usr
|
||||
vmove usr/include usr
|
||||
vmove usr/lib/pkgconfig usr/lib
|
||||
vmove "usr/lib/*.a" usr/lib
|
||||
}
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
libc.so.6
|
|
@ -1,6 +1,7 @@
|
|||
# Template build file for 'libnsgif'.
|
||||
pkgname=libnsgif
|
||||
version=0.0.3
|
||||
revision=1
|
||||
distfiles="http://www.netsurf-browser.org/projects/releases/${pkgname}-${version}-src.tar.gz"
|
||||
short_desc="Decoding library for the GIF image file format, written in C."
|
||||
maintainer="davehome <davehome@redthumb.info.tm>"
|
||||
|
@ -20,10 +21,13 @@ wrksrc=${pkgname}-${version}-src
|
|||
Add_dependency build sed
|
||||
|
||||
do_build() {
|
||||
make ${makejobs}
|
||||
make ${makejobs} COMPONENT_TYPE=lib-shared
|
||||
make ${makejobs} COMPONENT_TYPE=lib-static
|
||||
}
|
||||
|
||||
do_install() {
|
||||
vinstall "build-Linux-Linux-release-lib-static/libnsgif.a" \
|
||||
0644 "usr/lib"
|
||||
make ${makejobs} COMPONENT_TYPE=lib-shared \
|
||||
DESTDIR=${DESTDIR} PREFIX=/usr install
|
||||
make ${makejobs} COMPONENT_TYPE=lib-static \
|
||||
DESTDIR=${DESTDIR} PREFIX=/usr install
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue