diff options
author | Vlad Glagolev | 2020-03-09 23:54:57 +0000 |
---|---|---|
committer | Vlad Glagolev | 2020-03-09 23:54:57 +0000 |
commit | 8a0cbc8917b8415e9051919ce8e8a4897d26776a (patch) | |
tree | 54c5919c921b744df401f402feb48436eb11489c /x11 | |
parent | 4fea01887a563edc11b206c1418e3940066ba5ed (diff) |
grabc: => 1.0.2
Diffstat (limited to 'x11')
-rwxr-xr-x | x11/grabc/BUILD | 6 | ||||
-rwxr-xr-x | x11/grabc/DEPENDS | 2 | ||||
-rwxr-xr-x | x11/grabc/DETAILS | 10 | ||||
-rw-r--r-- | x11/grabc/HISTORY | 7 | ||||
-rwxr-xr-x | x11/grabc/INSTALL | 1 | ||||
-rwxr-xr-x | x11/grabc/PRE_BUILD | 4 |
6 files changed, 22 insertions, 8 deletions
diff --git a/x11/grabc/BUILD b/x11/grabc/BUILD index 0f0dc4ef23..fb32173e5b 100755 --- a/x11/grabc/BUILD +++ b/x11/grabc/BUILD @@ -1 +1,5 @@ - make +make DESTDIR="${INSTALL_ROOT}" DEFS="${CFLAGS}" && + +if list_find "${LDFLAGS}" "-s"; then + strip grabc +fi diff --git a/x11/grabc/DEPENDS b/x11/grabc/DEPENDS index 28c71f6432..b555ae0d45 100755 --- a/x11/grabc/DEPENDS +++ b/x11/grabc/DEPENDS @@ -1 +1 @@ -depends xorg-libs +depends libx11 diff --git a/x11/grabc/DETAILS b/x11/grabc/DETAILS index 4f8e46d794..0d323c79cb 100755 --- a/x11/grabc/DETAILS +++ b/x11/grabc/DETAILS @@ -1,11 +1,11 @@ SPELL=grabc - VERSION=1.1 - SOURCE=${SPELL}${VERSION}.tar.gz -SOURCE_DIRECTORY=${BUILD_DIRECTORY}/${SPELL}${VERSION} - SOURCE_URL[0]=http://www.muquit.com/muquit/software/grabc/${SOURCE} + VERSION=1.0.2 + SOURCE=${SPELL}-${VERSION}.tar.gz + SOURCE_URL[0]=https://github.com/muquit/${SPELL}/archive/v${VERSION}.tar.gz + SOURCE_HASH=sha512:5371f21f08a5b9cbadd3c8cfb2c21c916e1c31f2b0aecaec42836fe80be8177bc7a0f79eb78250ac1638c83dff1dca41faead7a7994bce47c87b22d7044acf2a +SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-${VERSION}" WEB_SITE=http://www.muquit.com/muquit/software/grabc/grabc.html ENTERED=20040618 - SOURCE_HASH=sha512:9a2416fd0cda7bd6fb65092572e6ba932eeac33a8534efe53be8f4bac3576884003dd50075363acd2d8466a406ba8799a0cef51086700269728894913a748aeb LICENSE[0]=GPL KEYWORDS="x11" SHORT="Grabs a color from the screen" diff --git a/x11/grabc/HISTORY b/x11/grabc/HISTORY index fb716852e7..5431e1bd96 100644 --- a/x11/grabc/HISTORY +++ b/x11/grabc/HISTORY @@ -1,3 +1,10 @@ +2020-03-09 Vlad Glagolev <stealth@sourcemage.org> + * DETAILS: updated spell to 1.0.2 + * DEPENDS: switch to libx11 + * BUILD: use CFLAGS + * PRE_BUILD: added, to correct install paths + * INSTALL: dropped, no longer needed + 2008-03-18 Eric Sandall <sandalle@sourcemage.org> * DEPENDS: Switch X11-LIBS to the one and only xorg-libs diff --git a/x11/grabc/INSTALL b/x11/grabc/INSTALL deleted file mode 100755 index 23e1671f04..0000000000 --- a/x11/grabc/INSTALL +++ /dev/null @@ -1 +0,0 @@ - cp -f grabc ${INSTALL_ROOT}/usr/bin/ diff --git a/x11/grabc/PRE_BUILD b/x11/grabc/PRE_BUILD new file mode 100755 index 0000000000..9c76c7c4dc --- /dev/null +++ b/x11/grabc/PRE_BUILD @@ -0,0 +1,4 @@ +default_pre_build && +cd "${SOURCE_DIRECTORY}" && + +sedit "s:/usr/local:/usr:" Makefile |