X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage5%2Fpkg%2Flibid3tag;h=b4891624187b8c87e59b19ba8979a24b412cee12;hb=f3c8db3027d5dc530e1f30c88e0235975211582e;hp=427520425d393082496df901dd13ccbca74468df;hpb=3dae4c554ec18f465eb6ee5e6efdbdbe8557e13c;p=hvlinux.git diff --git a/stage5/pkg/libid3tag b/stage5/pkg/libid3tag index 4275204..b489162 100644 --- a/stage5/pkg/libid3tag +++ b/stage5/pkg/libid3tag @@ -1,27 +1,11 @@ -#!/bin/sh -set -o errexit - -# First argument of this script is the package name. - -# Reading system configuration informations, functions and package versions. -source ../sysinfos -source ../functions -source ../packages-list - -# Applying patches (if any) -apply_patches ${1} - -cd ${LFS_TMP}/${1}-build -../${1}/configure \ - --prefix=/usr \ - --sysconfdir=/etc -make -make install - -# Some packages check for the pkg-config file for libid3tag. -# This file is particularly needed so that gst-plugins-ugly can -# recognize the installed libid3tag. -cat > /usr/lib/pkgconfig/id3tag.pc << "EOF" +#!/bin/bash + +hvbuild_post() +{ + # Some packages check for the pkg-config file for libid3tag. + # This file is particularly needed so that gst-plugins-ugly can + # recognize the installed libid3tag. + cat > /usr/lib/pkgconfig/id3tag.pc << "EOF" prefix=/usr exec_prefix=${prefix} libdir=${exec_prefix}/lib @@ -35,8 +19,6 @@ Libs: -L${libdir} -lid3tag -lz Cflags: -I${includedir} EOF -sed -i -e "s!_LIBID3TAG_VERSION_!$(get_pkg_ver ${1})!g" /usr/lib/pkgconfig/id3tag.pc - -ldconfig - -exit $? + sed -i -e "s!_LIBID3TAG_VERSION_!$(get_pkg_ver ${PACKAGE})!g" \ + /usr/lib/pkgconfig/id3tag.pc +}