Skip to content

Commit

Permalink
fix pkgconfig version variable
Browse files Browse the repository at this point in the history
  • Loading branch information
s3rj1k committed Sep 19, 2018
1 parent 906a39f commit cb17965
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions linux/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,11 @@ GIT_URL=https://chromium.googlesource.com/v8/v8.git
# Tag name or commit hash for checkout
GIT_VERSION=6.1.298

# Short version
SHORT_VERSION=6.1

# Package name
NAME=libv8-6.1
NAME=libv8-$(SHORT_VERSION)

# Package version
VERSION=$(GIT_VERSION)
Expand Down Expand Up @@ -68,8 +71,8 @@ _build: distro
cd "${BUILD_DIR}/${NAME}_${VERSION}" ; \
NEW_VER="${VERSION}-${BUILD_VERSION}~${DISTR}"; \
rm -Rf debian ; cp -r ../../debian . ; \
sed -i -e "s/GIT_VERSION/${GIT_VERSION}/g" debian/v8.pc ; \
sed -i -e "s/GIT_VERSION/${GIT_VERSION}/g" debian/v8_static.pc ; \
sed -i -e "s/GIT_VERSION/${GIT_VERSION}/g" debian/v8-$(SHORT_VERSION).pc ; \
sed -i -e "s/GIT_VERSION/${GIT_VERSION}/g" debian/v8-$(SHORT_VERSION)_static.pc ; \
sed -i -e "s/DISTRO/${DISTR}/g" debian/changelog ; \
sed -i -e "s/BUILD_VERSION/${BUILD_VERSION}/g" debian/changelog ; \
sed -i -e "s/GIT_VERSION/${GIT_VERSION}/g" debian/changelog ; \
Expand Down

0 comments on commit cb17965

Please sign in to comment.